I actually think the shaming in situations like this is a good thing. There is something called social influence/pressure. People don’t behave nicely just to obey the law, they want others to view them as good people. They also don’t want to be embarrassed or viewed negatively by others for bad behavior.