In Europe all cops carry guns and yet most cops I’ve gotten to talk to are great. I’m Italian and all Italian cops I’ve talked to have been great to me and often times I ask them for directions when I get lost in our metropolitan cities. I don’t think it has got to do with guns, but rather police training. Compared to the US most EU countries have a training period of 2yr rather than the 6mo I’ve heard from friends and family typical of the US, which ultimately allows cops to be better prepared and police trainers to weed out the unsuitable.
Interesting, I see why you’re saying that who wants to do harm with your code can do so however they want. Although licenses are the rules of the system which gives a fighting chance to stop such abuse if I can. Not that the system works properly most of the time, but it doesn’t mean it never will.