Nothing in this chapter authorizes a restriction on use that is otherwise prohibited by law.
Ca. Civ. Code § 1997.030