Earlier quoted context omitted.
> corruption has enabled these companies to construct confusing and elaborate ways of avoiding their fair share of taxes. I'm not sure one can consider it corruption, per se, rather it's tax competition on the part of smaller EU states. To my mind, it's not that the countries are being bribed by companies, rather that the laws attract a (far too small proportion of) global/EU revenue to be taxed in their country.
I mean, you’re free to blindly dismiss obvious corruption - but it’s quite obvious that these loopholes were designed, and often illegal. Eg, https://en.m.wikipedia.org/wiki/Ireland_v_Commission
Taxation is not an EU competence so in general it is not within the power of the EU to declare a member state's tax policy to be illegal. Vestager has been trying to use state aid as a vehicle to circumvent that restriction but the ECJ rebuffed her attempt to do that in Ireland. A big part of the problem is that the state aid findings rely on the assertion that tax authorities applied special rules to one particular company, which is typically not the case.