Hotel, motel, inn, boardinghouse, and lodginghouse keepers shall have a lien upon the baggage and other property belonging to or legally under the control of their guests, boarders, tenants, or lodgers which may be in such hotel, motel, inn, or boarding or lodging house for the proper charges due from such guests, boarders, tenants, or lodgers, for their accommodation, board and lodging and room rent, and such extras as are furnished at their request, and for all money paid for or advanced to such guests, boarders, tenants, or lodgers, and for the costs of enforcing such lien. The lien may be enforced only after final judgment in an action brought to recover such charges or moneys. During the pendency of the proceeding, the plaintiff may take possession of the baggage and property pursuant to a writ of possession as provided by Sections 1861.1 to 1861.27, inclusive. However, if any baggage or property becoming subject to the lien herein provided for does not belong to the guest, lodger, tenant, or boarder who incurred the charges or indebtedness secured thereby, at the time when such charges or indebtedness was incurred, and if the hotel, motel, inn, boarding or lodging house keeper entitled to such lien receives notice of such fact at any time before the sale of such baggage or property hereunder, then, and in that event, such baggage and property which is subject to said lien and did not belong to said guest, boarder, tenant, or lodger at the time when such charges or indebtedness was incurred shall not be subject to this lien.
Any property which is exempt from enforcement of a money judgment is not subject to the lien provided for in this section.
Ca. Civ. Code § 1861