Before the advent of the modern carceral approach that's not unlike what we had. You got flogged 3 times or stood in the stocks for a day. Though at least there was process--the sentence was imposed by a judge, not a cop. The benefit there was you weren't disappeared for days or months on end, completely destroying your life.