Règle correspondante
Spain
Practice Relating to Rule 129. The Act of Displacement
Section B. Evacuation of the civilian population
Spain’s LOAC Manual (1996) provides: “The occupying Power can undertake a total or partial evacuation of a given occupied area if the security of the population or imperative military reasons so demand.” 
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, § 5.5.c.(5); see also 2.4.a.(5).
The manual adds:
Evacuations may not involve the displacement of protected persons outside the bounds of the occupied territory except when for material reasons it is impossible to avoid such displacement. 
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, § 5.5.c.(5).
Spain’s LOAC Manual (2007) states:
The occupying power may undertake total or partial evacuation of a given area if the security of the population or imperative military reasons requires such action.
Such evacuations may not involve the displacement of protected persons outside the bounds of the occupied territory except when for material reasons it is impossible to avoid such displacement. 
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, § 5.5.c.(5); see also § 2.4.a.(5).