Canada's top court has largely upheld a Quebec law that bans public sector workers from wearing religious symbols, including the hijab and the cross. The law, known as Bill 21, was passed in 2019 under a unique fixture of Canada's constitution called the "notwithstanding clause" - a legal loophole that allows governments to override certain rights, like freedom of religion. In a ruling that will be felt both in Quebec and across the country, the Supreme Court confirmed the validity of Bill 21 on Friday.

The law faced legal challenges from a range of groups, including female Muslim, Sikh and Catholic teachers, who argued it violated their fundamental rights. The Supreme Court was asked to weigh in on a number of questions, including the constitutionality of Bill 21, whether Quebec's use of the notwithstanding clause was appropriate, and whether there are limits to its use. The court also ruled that a Canadian court has the power to declare whether a law is consistent with the Canadian Charter of Rights and Freedoms even if the notwithstanding clause is invoked, but that they would not do so in this case.

While the majority of the seven justices found that Quebec's law is largely valid, some dissented to parts of the decision. Justices Andromache Karakatsanis, Michelle O'Bonsawin and Nicholas Kasirer wrote that the notwithstanding clause "cannot be used to authorize laws that are incompatible with the fundamental character of Canada as a free and democratic country." Specifically, they said they believe the law infringes on the charter's guarantee to freedom of religion, freedom of expression and the right to equality. The court did rule that the law infringes on democratic rights by banning Quebec's elected officials from wearing a face covering for religious reasons - a small but notable carve-out.

Reacting to the ruling on CBC, Prime Minister Mark Carney said his government would study its implications, adding it was important for all legislatures "to respect the rights and liberties of all Canadians, including those in the minority." Civil liberty groups in Quebec have criticised Bill 21, saying it disproportionately affects Muslim women who wear the hijab, arguing that it has excluded them from key areas of public life in the province. Stephen Brown, CEO of the National Council of Canadian Muslims, called the law "discriminatory" and criticised the court's decision. "Entire categories of people are now barred from entire sectors of employment, not because of what they have done, but because of who they are," he said.

The chair of the English Montreal School Board, one of the main groups challenging the law, said the board was "obviously very disappointed" with the ruling. "It wasn't the result we were looking for," Ortona told reporters. "But we do take solace from a lot of the declarations that were made by the court." Quebec has argued that the law is necessary to uphold the province's state secularism - or laïcité - as a core component of its identity. Earlier this year, the province passed another bill expanding its secularism rules to subsidised daycares and post-secondary institutions. It also restricted public prayer with fines for non-compliance.

The leader of the Bloc Québécois, a federal party that advocates for Quebec sovereignty, said Friday's ruling upheld the province's right to protect its values. "We are now more than ever in a position to move forward with the preservation of the very elements that profoundly define the distinct nature of Quebec society," Yves-François Blanchet told reporters in French. So, to summarise: the court says the law is valid, but also that it's not really, and the notwithstanding clause is fine except when it isn't. Clear as a bell.