Appeals court rules against the pirate