I think it was the EU who took Apple to court over unfair trade practices and special tax deal in Ireland. Not surprising that Ireland cut a deal with Apple. We'll see if the EU lets this go through.
https://www.theguardian.com/business/2016/aug/30/apple-pay-b...