Exactly. This is not Apples fault though, since they are not responsible for tax laws.
The EU could have been a vehicle to solve that problem together, but since then I lost my believe it could enact change. Ireland has probably interest in large cooperation staying in Dublin and it might really be in the interest of Irish citizens too...
Still, the current situation is just a grave case of injustice.