A "trans woman" (XY by self-identification) in Argentina has been accused of raping seven women while incarcerated for rape, and with a strong history of abusing women. Now granted, this is not the U.S., but the reality is that in many states, including Minnesota, men are allowed to self-identify as female to get into women's prisons. There is some basis for comparison here.
In some cases, some of the more promiscuous female inmates might appreciate men there to play the dating game, so to speak, but in this case, the inmate in question came to play the raping game, and in the process also infected six women with syphilis--and in the United States and Canada, almost all syphilis is resistant to standard antibiotics.
So what we have here is because Argentina decided to allow rapists into women's prisons, a bunch more women were raped and infected with possibly life-changing illnesses--which will in turn increase the crime rates due to that abuse and mental/emotional/physical issues these women will suffer once they're released.
What to do? I would tend to agree that those who are truly "trans" might face some nasty repercussions in a men's prison, but then we need to appreciate that many who are violent (i.e. most prisoners) might also wear a women's jumpsuit to play the raping game, too. Maybe it's time for trans-only prisons for those of that persuasion can have a safe(r) place without endangering women.
And on a more basic level, given the reality that prison rape (and other violence) is a huge deal in all prisons, maybe it's time to take prisoner security way more seriously--and perhaps if we did, the rate at which male inmates "transition" to avoid prison rape might plummet.