And that's exactly what's going on with these cases, with defendants being treated by their own defenders as if they are guilty and must be reeducated.
And just as in that episode, these "trials" aren't about justice. They're not even really about punishing the defendants. They're about intimidating anyone who might oppose them:
Whatever you've done, whatever the charges against you, none of that really matters in the long run. [...] This trial is to demonstrate the futility of behavior contrary to good order.
From DS9 Tribunal:
And that's exactly what's going on with these cases, with defendants being treated by their own defenders as if they are guilty and must be reeducated.
And just as in that episode, these "trials" aren't about justice. They're not even really about punishing the defendants. They're about intimidating anyone who might oppose them:
I suspect Cardassian courts were intended to be a satirical jab at American ones in the first place.