In effect the case had nothing to with sentience and everything to do with sentience.
Indeed. Picard vehemently argues for Data's sentience, which convinces Louvois that Maddox shouldn't be allowed to proceed with the dangerous operation against Data's will - but Louvois also cleverly maneuvers around recognizing Data's sentience. Perhaps because this might be a necessary step in allowing Data to dodge the vivisection, but not a sufficient one? Declaring outright that Data has the right to refuse is far safer for Data!
everyone agreed that the ship's computer can't resign, even if it says it wants to.
The major issue here is that the computer never enlisted, either. Surely Data's enrolling in the Academy involved some paperwork which may not have included "Sign here to verify your sentience" (because such an issue would not routinely arise) - but would certainly have included paragraph upon paragraph of conditions under which
anybody enrolling would be entitled to resign. That's what should give Data fairly automatic legal backing for resigning, regardless of whether he's a man, a machine, or a piece of stationery.
But as said, perhaps Data did have the right to resign, as long as he was a person - but Louvois proceeded from the assumption that he was property, in which case he could not resign because he had not legally enrolled in the first place and the entire aspect was moot.
Come on man there is nothing remotely "clear" about what Starfleet allows into the academy. In fact they make it seem very difficult to even get into.
That's indeed it - Wesley has a hell of a time trying to get in, but Nog just waltzes in, and we see all sorts of lowlife in both Kirk and Picard's crews even when the skippers themselves are supposedly survivors in a fierce competition against devilishly strict tests and criteria. And never mind that many of their fellow skippers are real rotten apples, too.
But Starfleet definitely allows
things to command
men. Never mind that some of the things look like men; it should take court precedent to establish whether a Vulcan has a soul, say (Louvois seemed to think that this would matter to some). And M-5 would certainly have failed in that respect when originally evaluated (that is, when nobody knew it had Daystrom's soul), yet it was explicitly qualified to command landing parties and other starship crew.
Her decision to keep the trial focused soley on Data's ability to choose was probably what kept that hearing at her level.
She could have shoved it all up a level or two, most probably - but her interests lay in defusing the situation, not in solving it as such. Maddox wasn't a villain, Data wasn't a saint, and Picard was a loose cannon if left to shout from atop a moral soapbox. These three people should have been in speaking terms from the very start; it was very clever of Louvois to force Riker to play against Picard here, as this made it painfully clear to everybody that there were no victories to be won here, only bloody defeats to be suffered.
Timo Saloniemi