SECTION 1.
Section 3497 is added to the Civil Code, immediately following Section 3496, to read:
3497.
A court shall award attorney’s fees to a prevailing plaintiff in an action to require a governmental entity to abate a public nuisance arising from a homeless encampment.