(a) If the existence of the nuisance is shown in the action to the satisfaction of the court or judge, either by verified complaint or affidavit, the court or judge shall allow a temporary restraining order or injunction to abate and prevent the continuance or recurrence of the nuisance.
(b) A temporary restraining order or injunction may enjoin subsequent owners, commercial lessees, or agents who acquire the building or place where the nuisance exists with notice of the temporary restraining order or injunction, specifying that the owner of the property subject to the temporary restraining order or injunction shall notify any prospective purchaser, commercial lessee, or other successor in interest of the existence of the order or injunction, and of its application to successors in interest, prior to entering into any agreement to sell or lease the property. The temporary restraining order or injunction shall not constitute a title defect, lien, or encumbrance on the real property.
(Amended by Stats. 2002, Ch. 1057, Sec. 2. Effective January 1, 2003.)