I'm pretty sure that's a gross misrepresentation of that law. From the little I know about it, I think it was more about adding "using the wrong pronoun" as a possible aggravating circumstance to consider when somebody is already being harassed:
https://www.nbcnews.com/feature/nbc-out/canadian-lawmakers-p...
> The bill adds prohibitions against discrimination on the basis of gender identity and gender expression to the Canadian Human Rights Act, amends the criminal code to extend protections against hate speech and allows judges to take into consideration when sentencing whether a crime was motivated by hatred of the victim’s gender identity or expression.