Article 496 [source]

Spanish Criminal Code
English translation

Anyone who seriously insults the Spanish Parliament (Cortes Generales) or a Legislative Assembly of an Autonomous Community while in session, or any of its committees in public acts in which they represent them, shall be punished with a fine of twelve to eighteen months.

The accused of the insults described in the preceding paragraph shall be exempt from punishment if the circumstances provided for in Article 210 apply.