The UN human rights committee criticized France’s so-called Burqa ban, saying the law “violated” the rights of two women who were fined for wearing full-face veils in public.

The committee called for the women to be compensated and for a review of the 2010 law that forbids people from publicly wearing clothing that conceals their face.

It added that it was not convinced by France’s claim that the ban was necessary for security and social reasons.

The two French women were convicted in 2012 for wearing the Niqab, a veil with an opening for the eyes.

It said the French ban was “too sweeping” but that governments could still make people show their faces in specific circumstances.

An estimated five million Muslims live in France and women who ignore the ban can be fined up to 150 Euros.