We might also make the whipping more proportionate to the crime. So many lashes for so many days you would have spent in jail. Let's say, for ten years you would have spent in prison, you need to report to court for a whipping once a week.
Maybe you have just been charged before trial, and you have the option of paying bail with a whipping.
Or maybe you are just being held for a few days before being charged with something. Would you do that, or take a whipping?
Now we're talking unusual.