Pirates are not immune from the law.