Article 7.2 of Spain's Ley de Propiedad Horizontal (horizontal property law) lets a comunidad de propietarios (owners' community) take a case to court. The aim is to stop activity inside a property that is judged disruptive, unhygienic, dangerous or illegal. If necessary, the community can also ask for the occupant to be evicted (desahucio). El Español - Alicante reports the rule.

The rule applies to owners, tenants and anyone else who lives in or uses the property. It covers activities banned by the community's statutes (estatutos), activities that damage the building (finca), and activities falling under the general categories of molestas, insalubres, nocivas, peligrosas or ilícitas. Those words mean disruptive, unhealthy, harmful, dangerous or illegal.

The process starts with a formal demand (requerimiento) from the community's president (presidente). It tells the offender to stop immediately and warns that legal action may follow. The president can send it on their own initiative or because an owner or occupant asked. If the activity carries on, the president needs the approval of the Junta de propietarios (owners' meeting) before filing a lawsuit.

The claim must include proof that the demand was sent, along with the meeting's decision. It is brought against the owner and, where relevant, the occupant. Once the case is filed, a judge can order interim measures (medidas cautelares), including an immediate order to stop the activity. Ignoring that order can lead to a charge of disobedience (delito de desobediencia).

If the court sides with the community, it can bar the offender from using the property for up to three years. The length depends on how serious the conduct was and how much damage it caused. If the offender is not the owner, the court can end all their rights to use the home or premises and order an immediate eviction (lanzamiento). A tenant could lose the right to live there permanently.

The rule itself is not new: it has been in the law in its current form since 1999. But it is worth knowing - both for owners and for people who rent.