France's highest administrative court on Friday overturned a controversial ban on wearing the full-body burkini swimsuit following a legal challenge.
Security concerns after recent terrorism attacks across France were not enough to justify the law, the Council of State said, adding that there's no evidence the swimwear disturbs public order and that the bans are a violation of basic freedoms.
The council had heard an appeal by two groups - the French Human Rights League and the Collective Against Islamophobia in France - who sought to strike down a ban in the southern town of Villeneuve-Loubet.
Although the lawsuit centres on one local ordinance, the ruling by the judges in Paris sets a legal precedent for about 30 other municipalities that have similar prohibitions.
The conservative mayor of Villeneuve-Loubet said the court's ruling will only serve to inflame the debate surrounding the burkini. "The Islamization of our country is progressing," Lionnel Luca added.
Burkinis are designed to cover women's heads, arms and legs while bathing, in keeping with Islamic standards of modesty.
The uproar over the garment ignited following of a slew of recent deadly Islamist terrorist incidents in France, including an attack in July when a cargo truck was deliberately driven into crowd in the city of Nice.
Proponents of the bans say that burkinis violate France's strict laws on secularism and also pose a security threat. Opponents call the laws discriminatory against Muslims.
The debate intensified as pictures began circulating online earlier in the week that show a woman surrounded by four policemen removing her long-sleeved top on a beach in Nice.
Marwan Muhammad, the director of the Collective Against Islamophobia in France, called the high court's decision a "Pyrrhic victory."
"The damage is done," he said.
Patrice Spinosi, a lawyer for Human Rights League, said the ruling meant that the mayors of other municipalities must scrap the bans.
"These ordinances are not legitimate, they violate freedoms and must be withdrawn," he said.
There are disagreements within the French government over the issue, with Prime Minister Manuel Valls claiming the burkini symbolizes the enslavement of women and Education Minister Najat Vallaut-Belkacem arguing that forbidding them opens a gateway for racial discrimination.
The ruling was embraced by many outside of France.
The United Nations welcomed the court's decision, said Stephane Dujarric, spokesman for UN Secretary General Ban Ki-moon, noting that the UN stood for "the need for people's personal dignity and person to be respected."
John Dalhuisen, Amnesty International's Europe Director, said: "By overturning a discriminatory ban that is fuelled by and is fuelling prejudice and intolerance, today's decision has drawn an important line in the sand."
In depth coverage
Dozens of people equipped with beach towels, water pistols and swim goggles throw a party in front of the French Embassy in Berlin to protest bans on the full-body bathing suits.
There were tensions in the French government over the controversial burkini ban on some beaches as the country's top court deliberated Thursday whether the ban is discriminatory.
Invented in 2004 by an Australian woman, the burkini has come under attack in Germany and France. Banning the full-body swimwear would rob many women of the freedom to have fun in public, says its creator.
Italian Interior Minister Angelino Alfano doesn't see the ban on burkinis in some areas of France as a model for his country, according to statements made in an interview with Italian newspaper Corriere della Sera.