In Oz courts, there is often a "victim impact" statement read to the court, eg a rape victim will tell the court about the negative effects the assault has had on their life (eg can no longer have sex with partner, so is now divorced; can't leave house at night so has lost job). This impact statement will be taken into consideration when sentencing, and is often directly referenced in the judge's closing statement. Eg, "the victim has experienced years of mental anguish and you show no remorse; I am therefore pronouncing the maximum allowable sentence".
So yes, the court very much does "pander" to emotions. I'd love to hear an actual lawyer chime in, the ones I've talked to have a very strong code of professional ethics surrounding this (believe it or not.)
> not just a reflection of human nature
I acknowledge the human element, I should think no-one believes a construct doesn't reflect the maker, but society like any invention is also more than that.
What you didn't get right is the role of the justice system. It's not the role of the justice system to pander to emotions. A judge does not sit down with the mother of a murder-rape victim and explain to her how she ought to feel, at least that is not the case in Norway. One could argue this is in fact the case in the US, in the sense that the laws the judges rule by pander to emotions.
Humans=\=Society. That is the gist of what I am saying. Society is a construct, and it is not just a reflection of human nature, it is also a product of our ability to coexist. Anyone who has been in a relationship knows coexisting means sacrifice, both emotionally and otherwise.