law: 38. Penalty for spying.
  Every person not otherwise subject to naval law who is or acts as a spy for the enemy shall be punished under this Act with death or such other punishment as is hereinafter mentioned as if he were a person subject to naval law.