Article 589 [source]

Spanish Criminal Code
English translation

Anyone who publishes or executes in Spain any order, provision or document of a foreign government that threatens the independence or security of the State, opposes the observance of its laws or causes their non-compliance, will be punished with a prison sentence of one to three years.