Yeah, the hard left judges are a big issue for something like this. Enough so, one would have to budget on having to go to the Appeals Court level.
Depending on what is being challenged... ie if it’s directly in the CC, one must be charged under the CC in order to challenge it. Quite the roll of the dice *and* you could be sitting in jail while doing so. The Americans have it right compared to us - and allow direct challenges to the law by average citizens; whereas in Canada it’s done by defendants.