Nelson v. Colorado, 581 U.S. 128 (2017) ("When a criminal conviction is invalidated by a reviewing court and no retrial will occur, is the State obliged to refund fees, court costs, and restitution exacted from the defendant upon, and as a consequence of, the conviction? Our answer is yes. Absent conviction of a crime, one is presumed innocent.")
Notice how I'm citing cases and those arguing the contrary are just saying stuff.
If someone served 7 years on a drug charge, the part that I would find morally reprehensible would probably be the incarceration. In my mind 7 years of prison is a lot worse than the $127k.
I am not a bankruptcy (or criminal) lawyer, but it may also be dischargeable in bankruptcy. What I see online says "punitive" charges are not dischargeable, but "reimbursement" based charges are and this seems related to reimbursing the state for the cost of the bed.
What on Earth???
That's why this whole thing doesn't apply. "Wrongful conviction" is a very narrow term.