The closest analogy I can come up with are the provisions in the Criminal Code that are not based on penalizing discrimination but are the hate crimes and hate speech provisions. These are also geared toward preventing very serious activity that would be based on similar grounds that you would normally see in an anti-discrimination statute, but where the types of actions have risen to the level that they go beyond what's appropriate for that framework in terms of being addressed more under the criminal law.
On November 17th, 2016. See this statement in context.