> Just because you can do something "in general", you can't do it with the specific purpose of circumventing another legal obligation.
Most countries have laws that say you can't do something JUST for tax purposes. You can, however, structure things in a tax friendly way, if there's a commercial motive to do so.