Соответствующая норма
Spain
Practice Relating to Rule 107. Spies
Spain’s LOAC Manual (1996) states:
A member of the armed forces who gathers information is not considered to be engaged in espionage if that person is wearing regular uniform or is a resident in an occupied territory and is collecting information in that territory on behalf of the occupied power. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Publicación OR7-004, 2 Tomos, aprobado por el Estado Mayor del Ejército, Division de Operaciones, 18 March 1996, Vol. I, § 1.4.a.
Spain’s LOAC Manual (2007) states:
The law of war refers only to military spies, that is, members of the armed forces who engage in espionage.
The gathering of information by a member of the armed forces of a party to the conflict on behalf of that party is not considered to be engaging in espionage if, while so acting:
- he is in the uniform of his armed forces;
- he is a resident of an occupied territory and gathers information on behalf of the occupied power within that territory. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 1.4.a.
The manual further states:
Espionage activities are considered to be those carried out in areas controlled by the adverse party using false pretences or acting in a deliberately clandestine manner. The law of armed conflict does not prohibit such activities, but penalizes them by depriving members of the armed forces captured engaging in espionage of prisoner-of-war status. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 2.3.b.(5).
Spain’s LOAC Manual (1996) states that spies are not entitled to prisoner-of-war status. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Publicación OR7-004, 2 Tomos, aprobado por el Estado Mayor del Ejército, División de Operaciones, 18 March 1996, Vol. I, § 1.4.
Spain’s LOAC Manual (2007) states:
Spies are not lawful combatants and are not entitled to prisoner-of-war status. Espionage is a criminal offence and captured spies are tried in the criminal justice system of the detaining power, which will first rule on the status of the accused, if there is any doubt about it. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 7.3.a.(8); see also § 1.4.
The manual further states:
The law of armed conflict does not prohibit [espionage] activities, but penalizes them by depriving members of the armed forces captured engaging in espionage of prisoner-of-war status. 
Spain, Orientaciones. El Derecho de los Conflictos Armados, Tomo 1, Publicación OR7–004, (Edición Segunda), Mando de Adiestramiento y Doctrina, Dirección de Doctrina, Orgánica y Materiales, 2 November 2007, § 2.3.b.(5).
Spain’s Military Criminal Code (1985) provides that non-combatants involved in military espionage are subject to punishment and do not benefit from POW status. 
Spain, Military Criminal Code, 1985, Articles 52 and 57.