Enforcement is not perfect, but that the police can punish the armed sandwich thief in principle is already a deterrent. It is common knowledge who in this situation would be in the right. Compare with government-free world, where to determine who's right we'd have to make our security companies get into a firefight over it. And they'll probably decide that fighting isn't in their best interest and shoot us instead. They can always find more customers.