Practice Relating to Rule 87
Spain’s LOAC Manual (1996) provides that in occupied territory, “the Occupying Power shall treat the inhabitants humanely”.
Spain’s LOAC Manual (2007) states: “Treat all civilians … in your power with humanity”.
Spain’s Royal Ordinances for the Armed Forces (2009) states that members of the armed forces “[m]ust treat … members of the civilian population that are in their power … humanely.”
In 2010, in its report to the UN General Assembly on the status of the 1977 Additional Protocols, Spain stated:
Article 85 entitled “Principle of Humanity”, contained in Title IV on Operations [of the Royal Ordinances for the Armed Forces (2009)] clearly embodies the spirit of the  Geneva Convention and its  Additional Protocols, as it provides that “[the] … conduct [of members of the armed forces] in any conflict or military operation must conform to the applicable rules of the international treaties on international humanitarian law to which Spain is a party”.
That is further developed in Chapter VI on Ethics in Operations, which goes into specific duties under international humanitarian law … the protection of the … civilian population.