If it were the Navy, first you'd have to prove somehow that the Captain's body was hijacked by a crazy woman, so he wasn't to blame for the unlawful orders she gave. Then you'd have to prove somehow that the switch had been reversed. The authorities would be like, "The first switch sounds highly improbable, and the second sounds awfully convenient. You need a lawyer, Captain."
"I ask that this court be reconvened in the spooky chamber of a long-dead civilization!"