Sometimes in Star Trek murder mysteries the denouement is something that no one could have figured out because it depends on some science fiction/fantasy answer. This is different in that the nature of the trial had its science fiction twist, but the solution made normal rational sense.