A Brazilian court has fined Apple Inc $19 million (100 million reais) for selling iPhones without chargers.

The Sao Paulo state court on ruled against Apple in a lawsuit filed by the association of borrowers, consumers and taxpayers, that argued that the company commits ‘abusive practices’ by selling its flagship product without a charger, Reuters reports.

The court also ruled that battery chargers must come with new iPhones sold in the country. Apple has said it will appeal the decision.

Previously, the tech firm argued that the practice had the purpose of reducing carbon emissions.

“It is evident that, under the justification of a ‘green initiative,’ the defendant imposes on the consumer a required purchase of charger adaptors that were previously supplied along with the product,” said the court’s decision.

Brazil’s justice ministry earlier slapped a separate fine of nearly $2.5 million on Apple in September over the same issue and barred the US tech giant from selling its iPhone 12 and 13 models without chargers.