London (CNN Business) Amazon will keep its French distribution centers shut down through April 28 after losing its appeal against a court ruling that prompted it to suspend deliveries in France last week.

Amazon AMZN A court in Paris on Friday upheld a ruling thatmust stop selling nonessential goods as it carries out a risk assessment on how best to protect employees from coronavirus in its distribution centers.

In a statement, Amazon said employees would continue to receive their wages, and blamed the ruling on labor unions, which brought the complaint accusing the online delivery giant of endangering the lives of workers by not instituting enough safety precautions to protect against the virus.

The company said it had instituted expanded safety measures and "do not think that this decision is in the best interest of the French."

Under the terms of the court order, Amazon would be limited to selling goods classified as electronics, office equipment, animal care products, home improvement items, health and body care products, and groceries.