I do not think it is illegal to relocate to a country that has fewer taxes than yours, that's how all the people which transfer residency in UAE are currently doing.
Also, the fact that you relocate to a non-tax heaven is better seen.
If this was an issue then all the guys which transferred to UAE now would have troubles.
Also, company profit goes to 0 because I haven't renewed the licensing agreement with it, I think it is quite standard, I am not hiding money anywhere, simply my home country company does not have the licenses anymore to use the app for economic purposes.
In Europe, there is the freedom to relocate anywhere (in any EU country) so I do not really know how this can be seen as an issue.