The EU suffered a major setback in its effort to curb profit-shifting as a European court annulled an order that Apple repay Ireland 13 billion euros ($15 billion) in back taxes.

The commission's historic ruling against Apple was delivered in August 2016 by Competition Commissioner Margrethe Vestager in a shock decision that put Europe on the map as a scourge of Silicon Valley.

The iPhone-maker and Ireland had appealed the order, which Apple CEO Tim Cook slammed at the time as "total political crap".

Vestager was derided as Europe's "tax lady" by US President Donald Trump because of the case, as well as a series of antitrust fines she imposed on Google.

The clear cut decision by the EU's general court could now face another appeal at the top European Court of Justice, with a decision expected no earlier than 2021, but Vestager said only that Brussels was studying the judgement.

French Finance Minister Bruno Le Maire said "France will continue to fight" for a way to recover more in taxes from global IT giants, in a statement sent to AFP.

The EU in 2016 accused Ireland of allowing Apple to park revenue earned in Europe, Africa, the Middle East and India and sparing it almost any taxation.

EU authorities accused Ireland of letting Apple park revenue earned in Europe, Africa, the Middle East and India and sparing it almost any taxation
EU authorities accused Ireland of letting Apple park revenue earned in Europe, Africa, the Middle East and India and sparing it almost any taxation AFP / Daniel LEAL-OLIVAS

Brussels said this gave Apple an advantage over other companies, allowing it to avoid Irish taxes between 2003 and 2014 of around 13 billion euros ($14 billion).

EU officials argued that constituted illegal "state aid" by Ireland.

But the EU court said the commission "did not succeed in showing the requisite legal standard that there was an advantage".

The commission "was wrong" to declare that Apple units based in Ireland "had been granted a selective economic advantage and, by extension, state aid."

Apple welcomed the decision and reiterated that the profits in question were always intended to go to the United States and not Ireland.

"This case was not about how much tax we pay, but where we are required to pay it," an Apple spokesman said in an email to AFP.

"We're proud to be the largest taxpayer in the world as we know the important role tax payments play in society," Apple added.

The European Commission's historic ruling against Apple was delivered in August 2016 by Competition Commissioner Margrethe Vestager
The European Commission's historic ruling against Apple was delivered in August 2016 by Competition Commissioner Margrethe Vestager AFP / EMMANUEL DUNAND

Irish Finance Minister Paschal Donohoe said he welcomed the outcome in a case "that affected our reputation while this ruling was being pursued."

It "has always been clear that the correct level of tax was charged and no state aid was provided," he added.

Vestager said the EU would "carefully study the judgement and reflect on possible next steps," which could include an appeal.

"The Commission stands fully behind the objective that all companies should pay their fair share of tax," she added.

Some observers have expressed doubts on the Apple case, wondering whether the EU was right to use antitrust law to crack down on tax optimisation strategies by multinationals.

In similar cases, the same EU court struck down an order by Brussels that Starbucks pay 30 million euros in back taxes to the Netherlands.

In a separate decision, however, it said Fiat must pay roughly the same amount to Luxembourg.

The EU is trying to come up with ways recover more in taxes from digital giants where they do business, though this has been opposed by some European capitals.

"Today's court decision illustrates how difficult it is to use EU state aid rules to collect tax," said Tove Ryding, tax expert at the European Network on Debt and Development.

"If we had a proper corporate tax system, we wouldn't need long court cases to find out whether it is legal for multinational corporations to pay less than one percent in taxes," she said.

Talks to come up with a new global tax system at the OECD have been stalled due to opposition by the US.

Le Maire said "digital giants are the main winners of the economic crisis. It is another reason to move ahead with digital taxation at the OECD."

The Apple decision came on the eve of another landmark case at the EU courts, this one a lawsuit brought by an Austrian activist against Facebook over data privacy.