

The short answer is a court of law.
The long answer includes a reference to the location because a few countries do not list “escape from prison” as a crime in itself recognizing the human yearning to be free. So only incidental stuff would be interesting in a subsequent legal case, i.e. damage of property, threatening people with violence, etc. If you can manage to slip out in a laundry basket, you are okay. Andy Duphresne would be liable for the wall and sewage pipe he broke. (And committing fraud, of course.)
That’s unfair to microwave ovens because they have established uses, even in some fine dining establishments. So-called AI has none of that just yet.