What about prisoners of rogue? Maybe they should be ascribed a rogue region to be held within?
Also, I think in current code, the prison's capital not being at "peace" (meaning battles, looting, etc, happened in there) increases chance of prisoner escaping.
We should just make prisons be buildings that you can build in different regions and have escape chance tied to like, local stability or combat or some such.