There are stories all the time about prisons being run for profit. If the prison industry is profitable, perhaps it can be made profitable enough to pay for more courts as well. More prisons would of course be a net gain rather than a loss.
Who is it that you think pays for the prisons that are profitable? Who is their customer?
I mean, you're saying here that somehow the state would get more money back from the private prisons than they paid them, so they could spend this surplus on courts?
It's pointless, really, because if you honestly don't think that overincarceration is 'actually a problem', then you're so one-eyed that nothing I say will sway you.