The Supreme Court ruled in Shelley v. Kraemer that federal and state courts could not enforce restrictive convenants which barred persons from owning or occupying property because of their race.