There are very few punishments in Western democracies not subject to some level of judgement call. Until we've got AIs, questions like "was this deliberate" and "how much non-monetary harm was caused" will require a human (or group of them) to make a call.