I don't know much about German law specifically, but it's true that some countries of residence are plain incompatible with certain business models, and there might not be legal solutions available.
For example, trying to be a professional soldier in Iceland, or a prostitute in the US, just plain won't work out legally, no matter how complicated the arrangements you make.