An Amsterdam court on Thursday ordered Elon Musk’s Grok to stop generating non-consensual nude pictures and child sexual abuse material.

The company xAI, which owns the artificial intelligence chatbot, is ordered to pay damages of €100,000 per day for each day it fails to comply, up to a maximum of €10 million.

The Dutch judge said the generation and spread of sexualized footage is banned “when the functionality to undress people partially or fully is being used without these people giving their explicit consent.” The judge also prohibited the generation of footage “that, according to Dutch law, qualifies as child sexual abuse material.”

While the ban only applies in the Netherlands, the groups that brought the case said it could have wider repercussions since Grok can’t determine where a user is resident.

X didn’t respond to a request for comment.

The platform took steps to restrict features in January after Grok was found to be generating pictures of real people in bikinis or nude. Estimates have said that around 3 million pictures were generated in 11 days.

At the time, X said: “We remain committed to making X a safe platform for everyone and continue to have zero tolerance for any forms of child sexual exploitation, non-consensual nudity, and unwanted sexual content.”

The judge acknowledged that X and xAI have taken a range of measures to counter the spread of fake nudes and child sexual abuse material, but said it could not be certain that the measures that were taken are effective.

The case was brought by Offlimits, which fights online abuse, and Fonds Slachtofferhulp, which helps victims of crimes. They filed a complaint at the end of February.

Offlimits President Robbert Hoving called the ruling “fantastic news,” telling POLITICO that “technology can never be the reason for casualties.”

The European Commission launched an investigation into X at the end of January.

Both European Parliament lawmakers and EU countries have pushed for a ban on AI nudification apps as part of an effort to amend the EU’s AI rules. A ban could be in place by this summer.