According to the article it's not really about the character itself but rather introducing an unusual, offbeat element seems to make groups of people more empathetic.
44% of people who ceded their place to the pregnant woman in the study reported not even noticing the Batman. So this is some kind of subconscious effect on the crowd I guess.