A religion can't contradict the Charter. Only government can.

"32. (1) This Charter applies
(a) to the Parliament and government of Canada in respect of all matters within the authority of Parliament including all matters relating to the Yukon Territory and Northwest Territories; and
(b) to the legislature and government of each province in respect of all matters within the authority of the legislature of each province."