They used to be able to learn. One of Stan Lee's favorite tropes was to have the hero do something heroic and then a policeman would say "I know he's supposed to be a criminal, but there's no way I'd arrest him after this." Or something to that effect.