The legal basis for this prohibition is because they are trying to end segregation as it was added to the billof rights. The federal laws are the ones who handle this type of issues as well as employment, housing,lending, public accommodations, and most importantly law enforcements.