No.From what I gather saying you have mental illness is basically a get out of jail free card / pass to do whatever you like in Canada without repercussions?
There are still repercussions and consequences but they are different and the judge has more discretion. Some of this is based on the action/crime too.
Section 16 of the criminal code of Canada can find that people can be found not criminally responsible because they could not appreciate the nature of their actions.
The code allows the judge to balance the need for public safety and treating someone with mental illness with some dignity when considering sentencing.
It is in my opinion though that this case should not even proceed to trial for that. I don't see any threat to violence of person that a reasonable person would not be able to deal with and I also don't see how mental health issues should be used as any sort of defense as it dilutes the cases where it actually meets the threshold.
What you have is a guy who was trying to be funny, came across a a jerk, but also a guy who was annoyed by it thinking afterwards that he has to do something because he lost "face" in front of others.
It's not so far out of the realm that the one guy could apologize for his actions and the other could accept it and move on. Now however, both guys are entrenching themselves in positions where a reasonable outcome is falling further away as we both read this.