Generally CC&Rs are enforceable as legal documents. However, there are instances where a CC&R is rendered illegal by later enacted state or federal law and therefore is no longer enforceable. For example, a developer-drafted covenant giving the developer sole rights to amend the CC&Rs was declared unenforceable as a matter of public policy in at least one state, where the developer attempted to amend years after he had sold all the property. That state's legislature later codified that public policy. Other examples include CC&Rs which prohibited sales of property to certain racial groups; the Fair Housing Act rendered all of these also to be unconstitutional and unenforceable.