The video below shows Russian Navy commandos on a Somali pirate ship shortly after the pirates had captured a Russian oil tanker. A number of commands directed at the prisoners are heard from from an English-speaking Russian, i.e. when the commandos find a weapons stash: "WTF is that?" and "Why do you lie to me? This is not a fishing boat!"
The soldiers immediately freed their compatriots and the Russian oil tanker. They moved the pirates back to their own skiff, searched the boat for weapons and explosives...then left and blew it up it with all remaining pirates hand-cuffed to it.
No court proceedings, lawyers etc- they simply employed the common sense anti-piracy laws of the 18th and 19th centuries, where the captain of the rescuing ship has the right to decide what to do with the pirates. In most circumstances... they were hung on the spot. This time they were vaporized, so what's the diff... dealer's choice!
Russian ships can now enjoy a substantial deterrent effect.... one other countries like ours could too, if they just allowed the people in their military to do their jobs without asking a bunch of totally unnecessary questions about the methods. They were caught red-handed, that's all anyone really needs to know.
And what the enemy off the coast of Somalia -who would kill you for $50- needs to know is that they will die quickly, painfully, and still dirt poor if they even look at American ships the wrong way... the Kremlin obviously understands the concept: