It probably is but provinces can invoke the notwithstanding clause that basically lets them ignore court rulings. It was added to the constitution to convince provinces to sign on to the constitution in the 80s.
A simple explanation: https://www.cbc.ca/news/canada/toronto/ontario-notwithstandi...