This isn't really useful information though as there are numerous legal ways to walk around this tax. It's been written in a way to explicitly allow for this. At the end of the day Portugal wants to walk and chew gum here - simultaneously appeasing EU while remaining attractive to foreign investment. The legislation is written as such.