"If Customs inspectors stop your ship, and come on board armed"
In International Waters, that is called Piracy, irrespective of what nation is trying to play God, and what term they wish to call their armed warriors - defending yourself with weapons is considered acceptable.