We have a licensing scheme that takes roughly 6 months to issue you a license, and special transport rules for handguns and short rifles. We don't have gangs from the East smuggling in machine guns; and most crime guns come from an intentionally-porous border.
However, guns are a cultural flashpoint in most of the New World in ways they just aren't in most European countries. Part of this is an export of US politics, where sub-polities who want to ban guns are in a constant and bitter culture war with those that do not; Canadians copy a lot of US politics along whatever fault lines they happen to be on (currently, it's largest cities vs. everyone else). It's also a filter bubble problem, where the polities and voters that don't see guns as an issue are several thousand kilometers away from those that do (100km is a daily commute for us, but it can be the other side of the country for you), so you're not going to be exposed to 'normal' people on the other side.
>what in your view was their purpose?
Revenge. The sitting government did not like the fact that people from several thousand kilometers away came and protested certain edicts pertaining to a novel cold virus; those people are most likely to own guns.
This was simply a "fuck you". There are no problems with the crime rate here; other than that which the sitting government has encouraged with their policies, but European countries all have that problem too and for the same reason. Which makes people want guns -> government doesn't like that -> government limits that ability, naturally.