This can't be said for all of the EU.
In the UK if you direct a foreign company but are UK based then HMRC will consider it a UK company for tax purposes.
I looked at incorporating in Ireland because A. We wanted good Euro banking which the UK doesn't have and B. The corporate tax rate is a mere 12.5%.