It’s difficult to separate them, because the culture molds the law and vice-versa. However, the law is so strict there that it really makes American-style mass shootings highly unlikely.
For example, if someone walked into a restaurant or coffee shop with an assault rifle on their back, like open-carry assholes do in the US, they would get an immediate, overwhelming police response and spend a lot of time in jail.