A Supreme Court remade by Donald Trump said on Monday that it would hear a major LGBTQ rights case, giving the White House a possible assist in its ongoing assault on gay and transgender rights.

The court said it would consider three cases that look at whether Title VII, the federal civil rights law that prohibits workplace discrimination, applies to LGBTQ workers.

The court will look at two decisions that came down on opposite sides of the issue: In Altitude Express Inc. v. Zarda, a Long Island skydiving instructor named Don Zarda was fired after telling a client he was gay. Last year, the 2nd U.S. Circuit Court of Appeals ruled that Zarda’s firing was discriminatory. But the 11th Circuit went the opposite way in a similar case, Bostock v. Clayton County, Georgia.

The Supreme Court will also look at a third lawsuit, R.G. & G.R. Harris Funeral Homes Inc. v. Equal Employment Opportunity Commission, in which a transgender woman was fired after she transitioned. The 6th Circuit ruled that her firing was discriminatory.

The case marks a pivotal moment in the fight for gay civil rights, but the current composition of the court with its two new Trump appointees ― Brett Kavanaugh and Neil Gorsuch ― has some advocates worried. Kavanaugh replaced retired Justice Anthony Kennedy, considered a swing vote in favor of gay rights.

“Everyone had hoped these cases would reach the Supreme Court with Justice Kennedy still on the court,” said Peter Romer-Friedman, a counsel at Outten & Golden, who’s worked on LGBT rights cases on behalf of workers. “I think the chances of a victory for LGBTQ people and those who believe in civil rights is much smaller than several years ago.”

Title VII makes it illegal to discriminate against workers on the basis of race, religion and, crucially in these cases, sex. For example, under the law, employers can’t fire someone because they’re a woman, or African American or Christian.

For the past several years, some federal courts have held that the prohibition on sex discrimination carries over to sexual orientation and gender identity, reasoning that the concepts are impossible to disentangle. For example, gay women are discriminated against for being partnered with women, but straight men are not discriminated against for doing the same.

“The stakes are very very high,” said Omar Gonzalez-Pagan, a senior attorney with Lambda Legal. “These are cases in which we have an opportunity to cement our understanding that federal law already protects LGBT people from discrimination.”

Currently, 30 states lack laws that explicitly prohibit discrimination in employment, housing and public accommodations on the basis of both sexual orientation or gender identity, according to the Human Rights Campaign. If the Court rules that Title VII’s protections against sex discrimination don’t cover sexual orientation or gender identity, employers in those states will continue to be able to fire someone simply because they are gay.