A better solution would be to implement stricter accounting standards across the EU so that such tax dodges wouldn't be possible. This would solve the actual problem.
So they setup a business outside of the EU's jurisdiction and move the profit their? So all of the business in the EU is done at net no revenue (sales - costs - 'licensing fees' == 0).
What accounting standard means that business is making a profit in the EU?
Loophole free tax law is like bug free code: much harder than it sounds. Especially since the EU countries are actually independent and can have their own tax law.
Actually, it's not that hard. It only becomes hard when you try to use taxes to induce the set of behaviours you want. And then, completely suddenly Goodhart's law kicks in.