Our mental health inpatient facilities suck in the US. (I don't know if they're any better outside the US. Bedlam is still active, though allegedly a state-of-the-art institution). The rate of patient abuses in our wards run similar to abuses of prison inmates by staff, about one in three patients is a victim.
Violence and sexual violence from orderlies is common, but also nurses like to get patents prescribed with tranquilizers to keep them easy to manage (and drooling) and hospital pharmacists are complicit in this kind of mistreatment.
This is why our suicide response in the US sucks, since the typical procedure (when police don't turn an incident into a blue suicide) is to lock the patient in a hellscape like this.
So yes, it's little surprise that trans patients will be misassigned accommodations and then left vulnerable to abuse. Here in the states, the psych sector gives few fucks once someone is in lockdown.
I was 55 when I realized I was queer all along. A disaster queer. Gender: trainwreck.
But much of my life makes a lot more sense now.