While public sentiment is of course important , we can't expect a judge to circumvent the law. If I follow correctly what you are saying, he was damned if he did and damned if he didn't.
If following the law proves to be just wrong ..... Then the law needs to be changed. By proper means,
How can people follow anyone's perception , when we almost never know what it is. See below, perception as per google.
the ability to see, hear, or become aware of something through the
senses.
"the normal limits to human perception"
- the state of being or process of becoming aware of something through the senses.
"the perception of pain"
Similar:
discernment
appreciation
recognition
realization
cognizanc