When I toured the Tower of London I was told this happened to many improsined in the dungeon there. People would sometimes be held indefinietely for small crimes as they wouldn't be able to pay off their initial "accomodation". It seemed an insanely unfair practice and even though I knew US prison system is fucked, I had no idea it was this bad.