Find your city

Local law review · Search & seizure

Article 9: Dairy and Milk Code

San Francisco, California · Code text read May 16, 2026; it may have changed since

Potential violationThe code’s wording supports at least one claim that it violates the Constitution or federal civil-rights law under the test courts apply. A first read by an AI model, not a legal conclusion: a court could disagree, and the code may have changed.On its faceThe problem is in the wording itself, however the rule is enforced.

A first read by an AI model, not reviewed by an attorney. Have a licensed attorney check it before relying or acting on it. General information, not legal advice.

Summary

The strongest concern is a facial Fourth Amendment issue: §486 appears to compel inspections of nonpublic business areas through permit-revocation and criminal consequences without requiring a warrant or neutral review before compliance. The closely regulated nature of some dairy operations is a substantial defense, but the provision reaches broadly and gives officials unusually unrestricted inspection timing. Permit-revocation due process remains unresolved because the applicable permit procedures are missing. The limited sampling authority in §487 does not, by itself, establish an unreasonable seizure or a right to a hearing before every sample.

What to do next

If you work for this local government

Give this page to your city or county attorney. Ask them to confirm the sections against the current code and against how the rule is enforced; the review read the text only. Then see how to address it.

Tell us if the provision has been amended or the analysis is wrong.

If this rule has affected you

If it has been applied to you (a permit denied, a citation, a fine, property taken), take this page to a civil-rights attorney, a legal aid office or a public-interest law group. It gives them the sections, the test and the cases to check. See who could bring a challenge and how attorneys are paid.

A lawsuit isn’t the only route: you can ask a council member to make the suggested fix.

01

Compelled inspections backed by permit revocation and criminal penalties

Potential violationThe code’s wording supports at least one claim that it violates the Constitution or federal civil-rights law under the test courts apply. A first read by an AI model, not a legal conclusion: a court could disagree, and the code may have changed.On its faceThe problem is in the wording itself, however the rule is enforced.

§ 486§ 490

The concern is not merely that §486 omits the word warrant. It affirmatively authorizes entry without stated temporal limits, gives officials access to storage and transportation locations, and makes refusal a ground for losing the business permit. Its interference prohibition also carries the misdemeanor consequences in §490. The article does not require an official to obtain neutral authorization before compelling a disputed routine inspection. Milk safety is an especially strong regulatory interest, and some dairy operations may qualify for the closely regulated industry exception. Nevertheless, that exception is not established simply because a business sells a regulated food product. The provision reaches vendors as well as producers and processors, and its unrestricted timing and broad official access do not supply adequate limits for its full compulsory operation. On the code text, the challenge to that compulsory inspection authority is more likely than not to succeed, although the proper relief could preserve consensual inspections, emergency inspections, public-area observations, and any inspection program independently satisfying a recognized exception.

Governing test

Under Camara, See, and Patel, nonconsensual administrative inspections of protected premises generally require a warrant or an opportunity for neutral precompliance review before refusal is punished, unless a recognized exception applies. The government bears the burden of establishing an exception. A warrantless inspection program for a closely regulated industry must serve a substantial governmental interest, require warrantless inspections to advance that interest, and provide a constitutionally adequate warrant substitute that gives notice and sufficiently limits inspecting officers' discretion over time, place, and scope. Patel permits facial review of the searches actually authorized by the challenged provision; independently permissible consensual or exigent searches do not establish the validity of compulsory routine inspections.

Why it may be vulnerable

Section 486 authorizes entry into regulated businesses and conveyances, permits revocation for refusing an inspection, and prohibits interference. Together with §490, it appears to compel compliance without first providing a warrant or neutral precompliance review.

The strongest defense

The government can emphasize the serious risks of contaminated milk, the perishability of the product, the need for unannounced inspections, and the longstanding regulation of dairy businesses. It can argue that the article's product and location limits adequately constrain inspections, that regulated operators have notice of inspection obligations, and that applicable state law or a binding narrowing construction requires lawful inspection procedures before refusal can be punished. These arguments are strongest for dedicated dairy production facilities and weaker for treating every milk vendor's nonpublic premises as freely inspectable at any time.

Facts that matter
The challenged operation is a compulsory, nonemergency inspection of a nonpublic milk-business area or commercial conveyance, with refusal exposing the operator to permit revocation or prosecution.
Context still needed
No missing provision is necessary to identify the coercive inspection authority in §486. An independently applicable law that requires a warrant or neutral review before sanctions could narrow or change the ultimate conclusion and should be checked.
shall have the right at any time and at all times to enter upon or into the premises
§ 486
may be punished by the revocation of the permit of such producer, processor, distributor or vendor
§ 486
It shall be unlawful for any person, or persons, firm or corporation to obstruct or interfere
§ 486
Any person, firm or corporation who shall violate any of the provisions of this Article shall be deemed guilty of a misdemeanor
§ 490

Authorities

  • Camara v. Municipal Court, 387 U.S. 523 (1967)Nonconsensual administrative housing-code inspections of residences require a warrant; an occupant cannot be criminally punished for refusing a warrantless inspection. Probable cause for an administrative warrant is relaxed: reasonable legislative/administrative area-inspection standards suffice, without suspicion of a violation in the particular dwelling. Leaves room for emergency entries.
  • See v. City of Seattle, 387 U.S. 541 (1967)Extends Camara to businesses: inspectors may be compelled entry to nonpublic areas only through a warrant procedure. The Court did not question licensing programs that require an inspection before a business opens or a product is sold.
  • City of Los Angeles v. Patel, 576 U.S. 409 (2015)Struck down a law requiring hotels to hand guest records to police on demand: a business must have a chance to get a neutral decision-maker’s review of an administrative search demand before it can be penalized for refusing. Facial challenges to such laws are allowed.
02

Procedures for revoking an existing milk-business permit are not supplied

Open questionWhether there’s a violation depends on something the analysis didn’t have: another law the code relies on, an unsettled point of law, or facts about how the rule is used.As usually appliedThe problem shows up in the ordinary way the rule would be used.

§ 486

Section 486 places revocation authority with the health director but does not describe the process for exercising it. Loss of an operating permit can substantially disrupt a milk business, and a hearing could resolve whether an inspection was actually refused, whether the demand was authorized, and whether the operator had a lawful basis to seek neutral review. Immediate public-health dangers can support faster action, but refusal alone does not necessarily establish such a danger. The article's silence does not establish that the wider code lacks adequate procedures. The procedural claim therefore depends on the omitted permit and review law rather than on speculation about an abusive official.

Governing test

A procedural due-process claim first requires a protected property interest, ordinarily determined by the applicable permit-entitlement law. If such an interest exists, Mathews balances the private interest, the risk of erroneous deprivation and value of additional safeguards, and governmental interests and burdens. Notice must satisfy Mullane. In a nonemergency setting, a meaningful opportunity to contest the proposed deprivation ordinarily must precede revocation, although the required procedures depend on that balance.

Why it may be vulnerable

Revoking an existing business permit for refusing an inspection may deprive its holder of a protected property interest without adequate notice and an opportunity to contest the revocation.

The strongest defense

The government may show that generally applicable permit procedures provide adequate advance notice and review, that the permit law creates no entitlement to continued operation under the relevant circumstances, or that an actual health emergency justifies immediate suspension followed by prompt review. A lawful and undisputed refusal of a valid inspection demand may also reduce the factual issues requiring a hearing.

Facts that matter
An existing permit holder faces revocation after declining a routine inspection, without an identified immediate danger from contaminated milk.
Context still needed
The applicable permit-issuance, renewal, and revocation provisions are needed to determine whether the holder has a protected entitlement and whether notice, a hearing, a stay, or effective administrative review precedes loss of the permit.
may be punished by the revocation of the permit of such producer, processor, distributor or vendor by the said Director of Public Health.
§ 486

Authorities

  • Mathews v. Eldridge, 424 U.S. 319 (1976)Due process is a balance: the importance of what the person stands to lose, the risk of error and the value of added safeguards, against the government’s interest. It does not require a full hearing before every action.
  • Mullane v. Central Hanover Bank & Trust Co., 339 U.S. 306 (1950)Due process requires notice reasonably calculated, under all the circumstances, to apprise interested parties of the action and afford an opportunity to object. Publication alone is inadequate for persons whose names and addresses are known or readily ascertainable; mail is the minimum for them.
Considered and set aside2 issues the review did not support
03

Limited product sampling does not itself establish an unreasonable seizure

§ 481§ 487

Section 487 authorizes a physical taking, so the absence of a privacy invasion would not end Fourth Amendment review. But it limits the quantity collected at a single sampling event, targets regulated products in distribution, and operates alongside §481's health standards. Those features support a close relationship between the interference and detecting unsafe food. The text does not authorize seizure of an entire inventory, closure of a business, or forfeiture of a vehicle. Its lack of an aggregate sampling cap does not establish that excessive repeated collection will ordinarily occur. The code text therefore does not support a facial claim that the sampling authorization itself is unreasonable. A collection dependent on unlawful entry remains covered by the separate inspection concern.

The theory

Taking privately owned milk products for testing can interfere with an owner's possession and therefore implicate the Fourth Amendment independently of any entry into private premises.

Why it doesn’t hold here

Small samples are a practical means of testing perishable food before it reaches consumers. The product-specific scope and per-event quantity limit constrain the interference, while advance warning could impair effective testing. These considerations distinguish ordinary sampling from wholesale confiscation or forfeiture.

04

The absence of a hearing before each routine sample is not a demonstrated due-process defect

§ 487

The owner's interest in a bounded quantity of product is real, but substantially smaller than the interest in an operating permit or an entire inventory. A preliminary hearing would generally contribute little to deciding whether an identified product may be sampled within an objective quantity limit, while delaying testing of a perishable food product could undermine the regulatory purpose. The text therefore does not establish that an advance hearing is constitutionally required for each ordinary collection. This conclusion does not approve materially excessive sampling or determine whether available procedures would be adequate for a separate deprivation based on test results.

The theory

Collecting an owner's product without an advance hearing could be challenged as a deprivation of property without procedural due process.

Why it doesn’t hold here

The government can rely on the modest quantity involved, the objectively limited collection authority, the need for timely and sometimes unannounced testing, and the low value of a separate hearing before each sample. Any later permit revocation would present a different and more substantial procedural question.

How the review reached this

Section 486 presents more than a missing-reference problem. It gives health officials broad entry authority, allows permit revocation for refusal, and prohibits interference; §490 supplies criminal consequences for article violations. Under the administrative-search cases, a business generally must have a lawful way to insist on neutral review of a disputed inspection demand before being punished for noncompliance. An administrative warrant need not depend on evidence of wrongdoing at that particular business, so requiring lawful inspection procedures need not prevent routine health enforcement.

The strongest municipal defense is that dairy businesses operate in a closely regulated industry where unannounced inspections are necessary to prevent serious foodborne illness. That exception can permit inspections without an ordinary warrant, but it requires a sufficiently constrained inspection program. Section 486 extends beyond specialized production facilities to milk vendors, storage locations, and transportation equipment, while imposing no stated inspection-hour limits. The combination of broad access and sanctions for refusal supports a text-based challenge to compulsory, nonemergency inspections of protected areas. Consent, genuine emergencies, and observations in areas open to the public remain distinct lawful possibilities. Any independently applicable state procedure that necessarily intervenes before sanctions would need to be considered before filing.

Permit revocation also raises a separate Fourteenth Amendment question. Even if an inspection demand is lawful, an existing permit holder may be entitled to notice and an opportunity to contest loss of the permit. Section 486 does not explain that process, but the missing permit framework may provide it. The code as reviewed therefore supports further investigation, not a conclusion that the City has no hearing or appeal safeguards.

Section 487 requires a different analysis. Taking a sample can be a seizure because it interferes with possession of the product. Nevertheless, its limited quantities and direct connection to testing food in commercial distribution provide a substantial reasonableness justification. The text does not establish an ordinary practice of excessive repeated collection or authorize wholesale confiscation. For similar reasons, due process does not automatically require an individualized hearing before every limited sample. These conclusions concern sampling itself and do not validate an unlawful entry used to obtain it.

For the city

How to address it

The City could clarify that routine entry into protected nonpublic areas proceeds through consent, an administrative warrant, or a specifically established exception, and that requesting neutral review is not itself punishable obstruction or grounds for permit loss. If relying on the closely regulated industry exception, the inspection framework could identify covered operations and meaningfully constrain inspection timing, locations, purposes, and scope. The permit provisions could expressly identify notice, hearing, emergency-action, and review procedures. Sampling rules could retain effective unannounced testing while documenting quantities, testing purposes, and a route to address unauthorized collections. Any revision should be coordinated with applicable state requirements rather than assuming the article contains the entire regulatory scheme.

More on using Local law analyses

For residents

  • Look first at the analyses labeled “Potential violation”: the ones where the wording of a local rule appears to conflict with the Constitution or federal civil-rights law. Each also gives the government’s best argument that the rule is lawful, so you see both sides.
  • If one of those rules has been used against you (a permit denied, a sign cited, property taken, a fine), a civil-rights lawyer, a legal aid office or a public-interest law group can tell you whether you have a case. Bring the analysis: it points them to the exact sections, the legal test and the court decisions to check.
  • Cost may matter less than you think. Under federal civil-rights law, a government that loses one of these cases can be ordered to pay the winner’s lawyer, so some lawyers take them without charging up front. The catch: that usually requires winning in court, and if the government changes the rule partway through, it may owe nothing. Whether you have a claim, and how long you have to file, are questions for the lawyer.
  • You don’t have to go to court. Every analysis suggests how the rule could be fixed. Bring it to a council member or a public meeting and ask for that change.

For local governments

  • Read the analyses labeled “Potential violation” as a list of provisions to review. Each one quotes the sections involved, explains the test a court would apply and suggests a fix.
  • Have your city or county attorney check each one. The analyses are based on the text of the code alone: they don’t account for how a rule is enforced, your state’s law or amendments made since the version reviewed.
  • Fixing a rule is usually cheaper than defending it. A government that loses a civil-rights case typically pays the challenger’s attorney’s fees as well as its own; amending the rule first avoids both.
  • If a provision has been amended or an analysis is wrong, tell us and the page will be corrected: see corrections and contact.

These analyses are first reads written by an AI model from the text of the code. No attorney has reviewed them unless a page says so. Have a licensed attorney check an analysis before relying or acting on it. General information, not legal advice.

Fee statutes: 42 U.S.C. § 1988 (fees in civil-rights cases) · 42 U.S.C. § 3613 (fees in fair-housing cases)

Litigation and fees

The directly regulated parties include milk producers, processors, vendors, distributors, and persons handling covered products in distribution. A business operator intending to decline an immediate nonemergency inspection and request neutral authorization could have a realistic pre-enforcement theory because §§486 and 490 attach consequences to refusal or interference, but actual intent and a credible enforcement threat still require evidence. An actual inspection of protected premises, collection of owned product, or permit revocation would provide a concrete event to evaluate. A sampling claimant must identify its own possessory interest, while a permit claimant must establish the entitlement created by the applicable permit law. Because the challenged provisions are municipal enactments implemented by local health officials, the claim should connect the challenged injury to the City's inspection or revocation policy rather than merely to an employee's isolated departure from it.

Federal civil-rights statutes let a prevailing plaintiff ordinarily recover reasonable attorney's fees from the government, so a case need not involve large damages. Prevailing requires court-ordered, enduring relief such as a judgment or consent decree; a preliminary injunction followed by repeal or mootness does not qualify, and voluntary changes prompted by a suit do not count. Nominal damages can keep a case alive only for a completed past violation, and a purely nominal win may support little or no fee. Settlements can require fee waivers. Cities and counties are liable for their own ordinances and cannot claim qualified immunity; states cannot be sued for damages under section 1983, though officials can be sued for prospective relief.

General information, not legal advice. Fee recovery depends on prevailing in court and on current law.

Open questions

  • Identify controlling Ninth Circuit authority addressing when dairy producers, processors, general milk retailers, and food-transport businesses qualify as closely regulated industries, and what inspection-time and scope limits are required.
  • Determine whether applicable California inspection-warrant law or a binding construction requires neutral review before refusal under §486 can produce revocation or criminal consequences.
  • Obtain the permit-issuance, continuation, revocation, emergency-suspension, and review provisions applicable to the permits referenced in §486.
  • Retrieve the agricultural standards incorporated by §481 and determine whether any separately applicable state provisions govern compulsory sampling or inspection procedures.
  • Research controlling Ninth Circuit authority on limited compulsory food-product sampling and the process required for unauthorized or materially excessive collections.
  • Verify the article's present wording and legal status before relying on the code as reviewed.
  • California Agricultural Code requirements incorporated by §481 — The incorporated provisions establish the substantive product standards that inspections and sampling enforce. Their text is not supplied, and §481 should not be assumed to incorporate an unprovided inspection or appeal procedure merely because it incorporates product standards.
  • Milk-business permit framework implicated by §486 — The code as reviewed refers to permits and their revocation without supplying the issuance, continuation, or revocation framework. That law determines any protected permit entitlement and may supply notice, hearing, stay, or review procedures.