Some country or company needs to send a decoy ship into the area laden with nothing but explosives and guided by remote control. Once the pirates approach and board the vessel... BOOM! Itty bitty pirate chunks everywhere and the fish are happy for a free meal. Do that 5 or 6 times and they’ll have to change their game plan.
Either that or have ships sail in those waters with heavily armed and armored personnel to blast them as they approach.
Nothing short of killing the pirates will be effective in the long run. No half-measures.
Exactly correct.