If people see the real issue where the particular law was used or which caused the change in the said law, they will instantly understand why and how it happened.
This topic of crime and laws occasionally come out so it would be best to read up on it.
Since the question did not include “in your society”, I believe there are many examples that can be used to support your arguments. Since this was written in 2016, the examples used in this essay may be outdated.
In India where rape is rife, public outcry can influence the penalty handed down to the culprit.
Animal rights groups belabor the fact that greater punishments ought to be exacted for cruelty to pets and animals.
In most societies, adultery is not a chargeable offense.
In Singapore, the consumption of drugs is an offense unlike countries such as Portugal, Spain, and Italy.
The Penal Code is revised from time to time to keep pace with social and political changes against a backdrop of increasing technological advancements that breed new and increasingly complex online crimes.
that the perpetrators receive just punishment for their cruelty.
Thus fitting the punishment to the crime varies across countries.
A good fit between punishment and a crime could be possible to a certain extent if a country has a robust judicial system where laws are carefully deliberated and there is a general consensus that the punishments are consistent with the nature of the crimes.