Article 612 [source]

Spanish Criminal Code
English translation

Anyone who, during an armed conflict, knowingly violates the protection due to hospitals, facilities, equipment, medical units and means of transport, prisoner-of-war camps, health and security zones and localities, neutralized zones, places of internment of the civilian population, undefended localities and demilitarized zones, identified by appropriate distinctive signs or signals, shall be punished with a prison sentence of three to seven years, without prejudice to the penalty that may be imposed for the resulting harm.

2. Anyone who uses violence against medical or religious personnel or members of the medical mission, or of relief societies, or against personnel authorized to use the distinctive signs or signals of the Geneva Conventions, in accordance with international law, shall also be punished with a prison sentence of three to seven years, without prejudice to the penalty that may be imposed for the resulting harm.

3. Seriously injure, deprive, or fail to provide essential food or necessary medical assistance to any protected person, or subject them to humiliating or degrading treatment; fail to inform them, without justified delay and in a comprehensible manner, of their situation; impose collective punishments for individual acts; or violate the provisions on the accommodation of women and families or on the special protection of women and children established in international treaties to which Spain is a party, and, in particular, recruit or enlist persons under eighteen years of age or use them to participate directly in hostilities.

4. Improperly use the protective signs or distinctive emblems or signals established and recognized in international treaties to which Spain is a party, especially the distinctive signs of the Red Cross, the Red Crescent, and the Red Crystal.

5. Improperly or treacherously use the flag, uniform, insignia, or distinctive emblem of neutral States, the United Nations, or other States not party to the conflict, or of adverse Parties, during attacks or to cover, facilitate, protect, or obstruct military operations, except in the cases expressly exempted in international treaties to which Spain is a party.

6. Improperly or treacherously use a flag of truce or surrender, violate the inviolability of, or unlawfully detain, a member of parliament or any of their companions, personnel of the Protecting Power or its substitute, or a member of the International Commission of Inquiry.

7. Deprive a corpse, wounded person, sick person, shipwrecked person, prisoner of war, or interned civilian of their belongings.

8. Intentionally starve the civilian population as a method of warfare by depriving them of goods indispensable for their survival, including arbitrarily obstructing relief supplies delivered in accordance with the Geneva Conventions and their Additional Protocols.

9. Violate a suspension of arms, armistice, capitulation, or other agreement concluded with the opposing party.

10. Intentionally direct attacks against or threaten such attacks against any member of the United Nations personnel, associated personnel, or participants in a peacekeeping or humanitarian assistance mission, in accordance with the Charter of the United Nations, who are entitled to the protection accorded to civilians or civilian property under the international law of armed conflict.