Military commissions organized during the late civil war, in a State not invaded and not engaged in rebellion, in which the
Federal courts were open, and in the
proper and unobstructed exercise of their judicial functions, had no
jurisdiction to try, convict, or sentence for any criminal offence, a citizen who was neither a resident of a rebellious State nor a prisoner of war, nor a person in the military or naval service.