Then you must have one hell of a problem with "The Naked Time" and "The Tholian Web" and "Sarek" and "Brothers" and all those dozens of other times when crewmembers have committed criminal acts and been excused because they weren't of sound mind.
That's completely different, Christopher
. They were mammals
who didn't have sharp pointy teeth.
Actually, it's completely different in "Naked Time", "Tholian Web", "Sarek" and other such incidents in that they were broad-spectrum effects; many if not all of the crew were affected. It's easier to prove that something external was going on. Here, ONLY Ree is affected.
"Brothers" is a far more comparable situation, and yeah, I do have a problem that there is no resolution to, or addressing of, the fact that someone can PUSH A BUTTON and Data can take over the whole shp and be unstoppable. That should have been followed on.