Because their specific skillset and mental conditioning which is geared towards extreme violence sets them apart and makes them react differently to situations from civilans. Civilian courts and civil law are not set up or prepared to deal with such exceptions. Another thing is that military orders can be in direct violation of civil law, paralyzing military organizations and actions if they would have to abide by those.
Latest Answers