What I’ve never understood- what prevents me from, as a remorlte worker setting up a business in a tax haven and charging through that... I mean if this loophole is available to extremely well off individuals and companies why not for services...
CFC laws, which is something most developed countries have. These will in most cases "look through" artificial companies set up in tax havens and attribute the income to you personally.