Article 541 [source]

Spanish Criminal Code
English translation

Any public authority or official who expropriates a person's property outside of permitted cases and without complying with legal requirements will incur penalties of special disqualification from public employment or office for one to four years and a fine of six to twelve months.