Well, according to international law, should we encounter pirates in international waters, we can engage them with any type of force we choose. International law and the U.N. discourage ships and ships' crews from carrying weapons, however. So what do we do?
How about seeding the area with UAVs armed with Hellfire missiles? It avoids the whole "you shouldn't carry guns on your ships because guns are bad" argument.
On the other hand, it does have us policing things we shouldn't have to. There are times when I think Kipling was bitter toward his own government, rather than racist (as he has been read by post-modern anti-imperialist literary theorists because of this piece, which seems, in my opinion, to have the most anger. I think he went native--but that's a post for another time, and only if you're interested in reading it). Oh, yes, Kipling was bitter about the British army being expected to police the world--and I can understand and sympathize.
8 minutes ago