What do you think happens when you are arrested? You are taken to jail. At least for a few hours, or overnight, or even several days depending on the court schedule. And then there are the mountain of legal fees and dread of your fate hanging in the balance.
Sure, it’s not necessarily long term incarceration, but it’s enough to scare most reasonable people into submission.