No it doesn't. Ireland did this deal to benefit from it. What they lost from direct tax in one area they gained in others. Had Ireland not made this deal, it's unlikely it would have become the conduit for Apple profits from around the world.
The subject of the ruling contains "concerning tax rulings issued by Ireland in favour of Apple"
Just because a country has children and immigrants does not absolve it of criticism.