That's not quite what it says. Firearms are only a recommendation.
> Due to the polar bear threat in Svalbard, anyone travelling outside the settlements must be equipped with appropriate means of frightening and chasing off polar bears.
> The Governor of Svalbard also recommends having firearms with you.
A handgun may well not have the stopping power. But something like pepper spray (bear mace) might.
If a polar bear is charging me, I want his ancestors to feel what I'm going to do to him.
I believe it became less popular with the popular revolutions of 1848 and the advent of universal conscription.
https://www.reddit.com/r/AskHistorians/comments/268dmc/how_w...
Crossbows on the other hand were practically banned, but this was more because a highly skilled longbowman was more deadly
So it's not like people are going around shooting up polar bears for fun or anything :)
Being a remote town in the far north with unusual day/nighy cycles does require some strange laws to keep everyone safe and sane I guess.
Also, Tom has been there ofc: https://www.youtube.com/watch?v=eFJ-ze2-SqU