Article 415 [source]

Spanish Criminal Code
English translation

Any public official or authority not included in the previous article who knowingly and without due authorization accesses or allows access to secret documents whose custody is entrusted to him by reason of his position, shall incur a fine of six to twelve months, and special disqualification from public employment or office for a period of one to three years.