Exactly.
Armed merchantmen would be an even better idea, but is impossible given the firearm unfriendliness of most counties.
That’s why you have armory ships outside the sovereign limits.