Discovery and revelation of secrets
The crimes of discovery and disclosure of secrets are regulated in articles 197 to 201 of the Penal Code, precepts that typify several criminal modalities, which we will see below.
The crime of trespassing , regulated in Article 202 of the Spanish Penal Code, protects the right to the inviolability of the home. This right is enshrined in Article 18.2 of the Spanish Constitution, which prohibits entry into another person’s home, except in cases where there is consent from the owner, a court order, or a flagrant crime. The criminal act consists of entering another person’s home or remaining there against the will of the occupant , conduct punishable by imprisonment for a term of six months to two years.