They must be remembering the Barbary coast but the actions of SPS INFANTA CRISTINA seem to be interesting.
Operating with the EUNVFOR, that is the nacsent EU navy off the coast of Somalia the ship which has been the subject an attack by pirates in the last week turned the tables,
On 13 November, the EU NAVFOR warship SPS INFANTA CRISTINA intercepted a whaler with four suspected pirates on board. The whaler was located 200 nautical miles off the Somali Coast. The SPS INFANTA CRISTINA was patrolling the area as part of the EU NAVFOR’s Operation ATALANTA.
The whaler, which had been initially spotted by an EU NAVFOR Maritime Patrol and Reconnaissance Aircraft (MPRA), was found to be operating with a skiff and was suspected of being a support vessel for pirate activities in the region.
The Spanish warship launched its Rigid-Hulled Inflatable Boat (RHIB) with a specialist boarding team to intercept both vessels. The whaler was successfully intercepted and four suspected pirates found to be onboard. The skiff fled the scene.
All well and good, what strikes me is what they did next,
There was insufficient evidence to pursue a prosecution. Therefore the whaler was destroyed and the four suspected pirates were returned to Somalia. This disruption has hampered pirate action and avoided highly probable attacks on merchant and vulnerable vessels.
Not enough evidence for a prosecution but they sank it anyway, as from what they saw as the balance of probabilities it was involved in piracy
Way to go the Spaniards, though I do wonder the legal basis for the action, would the the RN would do the same.