The criminal is paying for a small crime with his life as the system doesn't take into account the social status of the criminal. The punishment is excessively abusive, but it will set an example. The probabilities of someone else committing the crime again are low.
This is too harsh...
Please have mercy, I don't want to die!
Serves you right!
Retributivism: Punishment fits the Crime VS. Utilitarianism: Punishment doesn't fit the Crime(varies in harshness)
Come back here! You little rat!
Backstory: A poor peasant steals some rare fruits from a hard working merchant.
Exotic Fruits Shop You'll never find these fruits in the entire kingdom
The criminal is paying for a small crime with a minor fine as the system doesn't take into account the rarity of the fruits. He'll pay the fine with ease, and the probabilities of him committing the crime again are high.