The US has some stuff of this sort too, presumably at least partially inherited from British tradition.
Here in Sweden though, when we have attacked the government we have generally been successful and have obtained useful recompense. Violence, when you're organized and sensible, really works. It's terrifying to see properly organized people attack, because you know that even if you're willing to siege it out, level your own city, it's going to be like the Siege of Mariupol. If people know how to fight and have guns and mortars, there's no police force that can do anything useful, and no military force that can do anything useful without it being actual war, on your own territory.