If you give them discretion, then there will be claims of discrimination on the basis of race, SES, etc. when different people get different punishments for similar violations.
Obviously, in the absence of discretion, there will be incidents of ridiculous overpunishment as described previously.
Neither is good.