Article 123 [source]

Spanish Criminal Code
English translation

Procedural costs are understood to be imposed by law on those criminally responsible for any crime.