This might helps understanding agents. But all this explanations would never change a thing that a murder has to go to prison.
Only because there is a logic, that has lead to murder, does not change something in the fact, that it is still murder.
No matter if he is afraid, stressed, bad educated or what preconditions a person has.