Sounds like you're confusing motivation with intent. If I get drunk and run over a child on my way home, I still committed a crime and even though I didn't intend to kill anyone I'm still guilty of a crime. Likewise, if I'm unemployed and out of money and I rob a bank to buy food for my family then my motivation may be all the best but I still committed a crime. Lakin's motivation for refusing to obey the orders of his superior officers is irrelevant to the fact that he disobeyed them. Whatever his intent in performing this agregious breach of military discipline is secondary to the fact that breach it he did. Whatever his intent, whatever his motivation, he will be tried for the crime he committed and not for his reasons for comitting them
It is a little hard to believe that you do not have the mental capacity to even think about your own examples. If you got drunk and you were angy about something a kid in the neighborhood had done to your house and you ran over him intending to kill him... you would be serious of a much more serious crime... Can you understand that? I doubt it seriously, but most people with common sense can.