Neuroscientists have found a basis for the ‘I was just following orders’ excuse