On the other hand, U.S. nationals serving in the military of a nation at war with the United States can be charged with treason (18 U.S.C. §2381). The enlistment in foreign service prohibition does not apply to citizens of countries at war with the United States, except to the extent they enlist others.