This story originally ran on Time.
France’s highest administrative court has stopped a town in France from banning the wearing of the burkini, a ruling expected to set a precedent across the country.
Arguments centred on the seaside town of Villeneuve-Loubet near Nice, although around 30 other municipalities also introduced a ban the full-body swimsuit worn by some Muslim women. The State Council upheld a challenge by human rights groups, which argued that the ban in Villeneuve-sur-Loubet infringed personal freedoms.
Sign up: Click here to subscribe to the Broadsheet, Fortune’s daily newsletter on the world’s most powerful women.
The ban follows a series of deadly attacks by extremist Muslims in France. Human rights activists have argued that prohibitions on burkinis are illegal and Islamophobic.
France has been ridiculed around the world, with commentators pointing out that similar clothes such a nun’s habit or a neoprene swimsuit are not banned.