Article 112 [source]

Spanish Criminal Code
English translation

The reparation of the damage may consist of obligations to give, to do or not to do, which the Judge or Court will establish taking into account the nature of the damage and the personal and patrimonial conditions of the guilty party, determining whether they must be fulfilled by him or can be executed at his expense.