Because of all the problems associated with carrying firearms or other weaponry into ports, private security firms convert barges into floating armories in international waters where no one will bother them.

APNewsBreak: Piracy Fighters Use Floating Armories : NPR.