A Muslim woman whose hijab was compared to wearing a hat and sunglasses in court, finally received an apology Tuesday from a Quebec judge.