Not that it will matter to you, but for anyone else to may be curious -
Once the state has a prisoner in its custody, it is responsible for providing for that prisoners needs, including medical care.
Gender reassignment can be recommended as a treatment for cases of severe gender dysphoria, which has been demonstrated in the relevant medical literature to have high success rates in alleviating the major symptoms of gender dysphoria, including depression and suicidal ideation.
If you want to, you can make an argument for not providing prisoners with medical care. But I don't know what the objection to providing this medical care would be, and how it would be different than other prescribed treatments, other than naked transphobia.
Or are you going to pretend to be worried about the sanctity of women's prison intermural sports?