The best way of getting away with murder is not to get caught, but lets look at what seems to be a gap in the legal framework.
Consider a CIA civilian deployed in Iraq. Let’s say he kills an American soldier in the barracks. OK, legally, what can the US do to him?
The only option I see is to hand him over to an Iraqi court. I presume the Americans would not want James Bond in Iraqi custody, and so I guess they would haul him back to the US and fire him.
Certainly UCMJ does not apply. Does some Federal District Court handle cases in Iraq?
Actually, the UCMJ does apply “In time of war, [to] persons serving with or accompanying an armed force in the field.” Cite. For the purpose of this provision, I do not know what constitutes “a time of war.”
In spy fiction, it’s depicted that intelligence agencies have secret “in-house” tribunals for agents who break the law but can’t be tried in open court. Any truth to this?
It did happen. In Reid v. Covert, the Supreme Court held that it was unconstitutional for the US to try military dependants (two wives who murdered their husbands who were in the military) was unconstitutional.
So, yes and no. First, absent a treaty such as the ones discussed in Reid v. Covert, the host nation has jurisdiction, and can prosecute crimes committed in its territory. Assuming the host nation does not prosecute, the US can remove the perpetrator to the US for trial.
In those cases, the issue was whether the US had authority to arrest and prosecute the culprits. Cases like *Reid * dealt with the procedures that the US had to follow when it did prosecute.