They were trying to show that if you take a good person and induce him to misbehave...then, his brain will start rationalizing and accommodating the behavior.
He will change his ethical principles to justify the bad behavior.