For AI agents: read the machine-readable documentation index at /llms.txt or the single-file full reference at /llms-full.txt.
Black Friday: $25 off forming an LLC in any stateLLC formation, through Dec. 1.See the deal →

§ 5.40.150 — Refusal to undergo an inspection

Lancaster Municipal Code, City of Lancaster, California (Supp. No. 4-26: codified through Ordinance No. 1154, enacted September 8, 2026) · Lancaster Municipal Code § 5.40.150

Flag a mistake

Email Corpus about this section

Using webmail? Send the page link and what looks wrong to [email protected].

Corpus is an independent public-information project, not the official City of Lancaster website. Stable reference: corpuslaw.us/code/3fd56dc6-050a-4386-96ac-df56d932ac9b

5.40.150 - Refusal to undergo an inspection.

A. If the premises are occupied, the director shall, before entering a residential rental unit, first present proper credentials to the occupant and request entry explaining his reasons; B. If the premises are unoccupied, the director shall first make a reasonable effort to locate the owner or other person having charge or control of the premises and request entry, explaining the reasons; C. If entry is refused or cannot be obtained, the director shall have recourse to every remedy provided by law to secure lawful entry and inspect the premises, including but not limited to securing an inspection warrant pursuant to California Code of Civil Procedure Sections 1822.50 through 1822.57. The director shall provide notice that a warrant has been issued to both the owner and the occupant at least twenty-four (24) hours before the warrant is executed, unless the judge finds that immediate execution is reasonably necessary in the circumstances shown; D. Notwithstanding the foregoing, if the director has reasonable cause to believe that the residential rental property or residential rental unit is so hazardous, unsafe or dangerous as to require immediate inspection to safeguard the public health or safety, the director shall have the right to immediately enter and inspect the premises and may use any reasonable means required to effect the entry and make an inspection.

(Ord. 869 § 1 Exh. A (part), 2007)

Ask a question about Lancaster law

Corpus searches the Lancaster sections it holds and shows the ones that match, with their citations. Free, no sign-in.

Use the Lancaster code through the API

This call searches the Lancaster code. Change jurisdiction to the state's code to search its statutes and its cities, or to US for federal law. A free key gives 1,000 searches a month, and the MCP server works with no key.

curl -H "Authorization: Bearer $CORPUS_API_KEY" \
  "https://corpuslaw.us/api/v1/search?q=Refusal+to+undergo+an+inspection&jurisdiction=CA-LANCASTER"

Law search API · Docs · Get a free key · Connect the MCP server