What is the phrase that can be used to describe the situation when someone tries to justify himself, even when he knows that he's wrong.
The situation is when the person didn't complete his duty, and tries to explain that he did nothing wrong, by using lame excuses. So, my question is about doing something incorrect rather than doing something morally wrong.
It is not about internal reasoning, it is about someone trying to deflect blame being placed (rightly) on him by others.