Back in the 60’s there was a very profitable company called Salvage Engineers operating out of Singapore providing armed anti piracy squads for shipping.
They would put them on board off Singapore, transfer them to a waiting crew boat at the other end of the Malacca straits and then they would escort another ship traveling the other way.
Free enterprise triumphed again. Now it probably would not be allowed.