1.1589149-2249342771
An Apple store in Paris. Hackers targeted the App Store via a counterfeit version of Apple’s Xcode ‘toolkit’ — the software used to build apps to run on its iOS operating system. Image Credit: AP

(Bloomberg) - Apple Inc. won its court fight over a record 13 billion-euro ($14.9 billion) Irish tax bill in a crushing blow to European Union antitrust chief Margrethe Vestager's crackdown on preferential fiscal deals to selected companies.

The EU General Court sided with the iPhone maker, ruling on Wednesday that Ireland's tax arrangements with the company weren't illegal state aid. The decision can be appealed.

The court said the EU authority "did not succeed in showing to the requisite legal standard that there was an advantage."

The Apple case is the hallmark of Vestager's five-year campaign to get rid of allegedly unfair tax deals that some EU governments dole out to favoured multinationals including the likes of Amazon.com Inc.

Apple's fury at its 2016 tax bill led Chief Executive Officer Tim Cook to blast the EU move as "total political crap."

Apple said in an emailed statement that it welcomed the ruling.