This sounds like an abstraction of a general “problem” in the system. If you set a law with consequences that no reasonable person would think is proportionate to the crime no jury will convict someone of the crime. It was a real problem back when the death penalty was too broadly applied.
One particular thing with the abortion ban debates that is overlooked is how common women killing children under the age of one used to be before birth control/abortion legality. In those eras courts (usually somewhere between 1850 and early 1900’s) had to put new laws on the books to lower their punishments well off of full murder convictions because juries would refuse to apply full murder charges broadly to the category because at some level they accepted it as kind of a natural but volitle reaction to misery beyond the control of the person that the juries were very empathetic towards because a woman’s lot being particularly miserable was an accepted social norm.
These “problems” have ways of figuring themselves out. If you can’t reliably find a jury you have to change the law.