Amazon has been given the all-clear by the European Court of Justice after a legal battle over the sale of bottles of unlicensed Davidoff perfume.
The German arm of beauty company Coty - which owns the Davidoff brand - went to court in a bid to stop Amazon storing and delivering the unlicensed products.
Coty claimed Amazon, which sold the products on its Marketplace platform, was breaching its trademark rights.
The ruling should set a precedent with regard to third-party merchants online.
Coty alleged that Amazon had violated its trademark rights by stocking its Davidoff perfume for third-party sellers and should be held responsible for such practices. Coty holds the licence for the brand in the EU.
But the European Court of Justice (ECJ) decided that “mere storage” of trademark-infringing goods was not the same as trademark infringement itself.
Amazon “have not themselves offered the goods for sale or put them on the market”, the ECJ ruled. “It follows that the Amazon companies have not themselves used the Davidoff mark.”
Following the preliminary ruling, the case will now be handed back to Germany’s federal courts.
Millions of independent sellers use Amazon's Marketplace - under the scheme Fulfilled by Amazon - with sellers typically paying a fee to make use of the online giant's warehouses and logistics.
Customers are often unaware they are not buying the products directly from the US firm.
Amazon has previously said that it sells more physical goods via Marketplace sellers than directly to customers itself. The growth of the trade has seen it face claims of enabling the sale of counterfeit and unsafe goods in the past.
During the coronavirus pandemic, the US retailer has also had to tackle profiteering on medical supplies and adverts for fake cures on Marketplace .
Amazon says it strictly bans products that infringe on intellectual property, and spent more than $500m (£398m) tackling fake goods and related problems.
"Amazon continues to invest heavily in fighting bad actors on our store and is committed to driving counterfeits to zero," a spokesman said.
"German courts have ruled in our favour in the first two instances of this proceeding, and based on our initial understanding of the judgement, we welcome the decision from the ECJ."