Middle Age practice.

Countries like KSA have harsh sentences for misdemeanours, but still have high crime rates. If it doesn't deter the crime, then what's the point.