Check out Romer v. Evans (1996), where the Supreme Court struck down a Colorado law that banned any municipality from taking any action to recognize gay and lesbian individuals as a protected class. The Court said it failed the rational basis test, and said that you can't target a class based on animosity. It served…