It has made me think that when we hear about a society / culture today having "Mediaeval" attitudes towards women that, at least in some respects, what that actually means is "pre-WW2 middle class" attitudes to women.
The trans thing jolted me out of complacency that hard-won women's "rights" would not, could not, be rolled back, that we were on a track that lumbered progressively away from institutional misogyny. It made me realise that they were not "rights" at all but hard-fought for concessions extracted from begrudging institutions of state, religion and law.
The reminder that there are women (and men) alive today who were incarcerated, lobotomised and put in chemical straight-jackets for all sorts of "moral delinquency" does make it less incomprehensible that polite society now champions the chemical and surgical mutilation of children and young people who do not fit societal norms, or parental aspirations, or who are going through a rebellious, peer-conformist phase. It is understood as "treatment" rather than "punishment" but then those pre-WW2 girls and women were not sent to prison, they were confined in hospitals and medicalised.
The stories in this thread are not ancient history.
Psychiatrists and psychologists still working today will have been involved in the care of those women at a time when the circumstances of their incarceration would not have been defended but would have been "accepted" as routine - I speak from experience of working in long-stay psychiatric hospitals.
We might feel that we have come so far from those days but we have barely escaped them. Our society's attitudes towards those women, still in living memory for some, can be described as what is commonly termed "Mediaeval".