A French court ruled Amazon (AMZN -1.44%) has to restrict orders in the country, only shipping products deemed essential amid the COVID-19 pandemic. 

Under the ruling, Amazon can only accept orders for groceries, cleaning items, hygiene, and health-related products. The court said Amazon "has obviously disregarded its obligation of safety and protection of the health of employees.”

A warehouse shelf with boxes and two surgical masks hanging nearby.

IMAGE SOURCE: GETTY IMAGES.

According to the trade union Sud, the tech giant has twenty-four hours to halt all shipments of non-essential items or face a fine of €1 million per day. The decision will be enforced for as long as a month, depending on whether or not there’s a flattening of the virus curve in France. If it worsens, the ban on non-essential items could last longer, reported Le Parisien, the France newspaper.

Ever since France ordered a shelter in place rule for its citizens, Amazon has been prioritizing orders and shipments of essential items. Still, it’s six fulfillment centers in the country remain open and operating as usual. That has raised the ire of some unions in France, which have called for the online retailer to halt all of its activities or greatly curb them in the country.

Amazon has been at odds with some of its workers in France and around the world who contend the eCommerce giant hasn’t done enough to protect warehouse and delivery workers. The online retailer has responded by beginning temperature checks at its sites in the U.S., sending home anyone with a temperature of over 100.4F. It’s also providing workers around the world with masks, hand sanitizers, and has implemented social distancing rules.