California Codes, Civil Code - CIV, Division 4 — General Provisions, Part 4 — Maxims of Jurisprudence, Section 3513
Any one may waive the advantage of a law intended solely for their benefit. But a law established for a public reason cannot be contravened by a private agreement.
Notes
Allows a person to waive the benefit of a law enacted solely for that person’s advantage. It bars private agreements from contravening a law established for a public reason, distinguishing waivable personal protections from public-purpose rules that private parties cannot nullify by agreement.
Use as reference
Lexinter.net | California Code, Civil Code - CIV § 3513 | https://laws.lexinter.net/codes/california/civil-code/division-4/part-4/section-3513