The U.S. Supreme Court made it easier on Thursday for people from majority backgrounds such as white or straight individuals to pursue claims alleging workplace “reverse” discrimination, reviving an Ohio woman’s lawsuit claiming she was illegally denied a promotion and demoted because she is heterosexual.

The justices, in a 9-0 ruling authored by liberal Justice Ketanji Brown Jackson, threw out a lower court’s decision rejecting a civil rights lawsuit by the plaintiff, Marlean Ames, against her employer, Ohio’s Department of Youth Services. Ames said she had a gay supervisor when she was passed over for a promotion in favor of a gay woman and demoted, with a pay cut, in favor of a gay man.