Oh...I did have them open an attack on the pirates and freeing Ran but you can just have the pirates still defeat them if that's the case.