An informed opinion of legislation takes into account how courts define religious beliefs:

"[T]he freedom to undertake practices and harbour beliefs, having a nexus with religion, in which an individual demonstrates he or she sincerely believes or is sincerely undertaking in order to connect with the divine or as a function of his or her spiritual faith, irrespective of whether a particular practice or belief is required by official religious dogma or is in conformity with the position of religious officials. 

~ Syndicat Northcrest v. Amselem [2004, SCC]

If you recall the case about a sexual assault complainant wanting to testify wearing her niqab, you'll also recall that her belief qualified as a religious one.