Chauncey also was an expert witness in a landmark gay rights case that resulted in the U.S. Supreme Court invalidating a 1992 Colorado law that sought to prevent cities from extending civil rights protections to gays .