FILE - A girl wearing a hijab is seen attending school.
FILE - A girl wearing a hijab is seen attending school.

An appeals court in Quebec ruled Wednesday that Islamic veils and other religious dress can be worn in the courtroom.

The three-judge panel in Montreal ruled unanimously that a lower court judge was wrong when she refused to hear a case in 2015 because a woman was wearing a hijab.

The judge told the woman she was not suitably dressed and said if hats and sunglasses are not allowed in court, then neither are headscarves.

The Quebec Appeals Court judges ruled Wednesday that citizens can wear any religious garb in a court as long as they have "sincere" religious beliefs and the clothes do not interfere with another citizen's rights.

The Quebec government is currently debating limits on where people can wear religious clothing in public.