European anti-piracy task force EU Navfor has helped strengthen prosecution pathways in the Seychelles.
The agency said it had teamed up with the UN's Office on Drugs and Crime to train local police and lawyers.
The idea is to help with continued improvement and development of all areas within the legal process, from the capture to conviction of suspected pirates, it said.
A three-day programme covered skills and knowledge in detainee-handling, evidence collection, crime-scene management and a discussion about the legal conditions of transferring suspects of acts of piracy.
EU Navfor, the UN and the Seychelles' authorities are key partners in the deterrence, prevention and disruption of piracy in the Indian Ocean, the agency said.