You have the answer. For each sex surgery there must be an execution. This way even though the tax payer gets ripped off for the sex surgery he has one less jackass to pay for his prison room and board. So it balances out.
Not each. Not a one-for-one deal.
I mean, change the policy entirely. I mean anyone who has a death sentence doesn’t last more than a month on death row. Including all existing death row inmates.
There will be an initial backlog to clear up, but that will soon be over.
If it is so important a judge orders a sex change within a month of the order issued, then all the death row sentences ought to be carried out with the same swiftenss of purpose.