In 2015, the Equal Employment Opportunity Commission, under Mr.Obama, issued a very different ruling, deciding on a vote of three Democrats to two Republicans that discrimination on the basis of sexual orientation was illegal. That ruling, which was reviewed by the Obama administrationâs Justice Department, did not formally bind the federal courts, although courts often defer to federal agencies when they interpret laws that come under their jurisdiction.
But in its brief, the Trump administrationâs Justice Department said that the E.E.O.C., which has also filed court papers supporting Mr. Zarda, was ânot speaking for the United States.â
A lower court on Long Island first considered Mr. Zardaâs case in 2015 and ruled against him, deciding, despite the E.E.O.C. ruling, that sexual orientation was not included in the civil rights lawâs prohibition against discrimination based on âsex.â In April, the Second Circuit in New York upheld that courtâs decision, even though it noted that there was âa longstanding tension in Title VII case law.â
Federal appeals courts have issued contradictory rulings on the matter. In 2000, while considering the case of a Long Island postal worker, Dwayne Simonton, who was abused at work for being gay, the Second Circuit ruled that the language of Title VII did not bar discrimination based on sexual orientation. The ruling also noted that Congress has repeatedly declined to include such a provision in the law.
âThere can be no doubt that the conduct allegedly engaged in by Simontonâs co-workers is morally reprehensible,â the court wrote in 2000. It added, however, that âthe law is well-settled in this circuit.â
Shortly after the new brief was filed, civil rights advocates attacked it. In a statement on Wednesday, Vanita Gupta, who ran the Justice Departmentâs civil-rights division under Mr. Obama, said that the Trump administrationâs court filing âcontravenes recent court decisions and guidance issued by the Equal Employment Opportunity Commission.â
On Twitter on Wednesday night, Ms. Gupta, who is the president of the Leadership Conference on Civil and Human Rights, noted that only political appointees, not career employees, from her former office at the Justice Department had signed the brief.
The American Civil Liberties Union called the brief a âgratuitous and extraordinary attack on L.G.B.T. peopleâs civil rights.â In a statement, James Esseks, the director of the organizationâs L.G.B.T. and H.I.V. Project, added, âThe Sessions-led Justice Department and the Trump administration are actively working to expose people to discrimination.â
In his own statement, Devin OâMalley, a Justice Department spokesman, said that the brief was âconsistent with the Justice Departmentâs longstanding position and the holdings of 10 different courts of appeals.â
Mr. OâMalley added that the filing âreaffirms the departmentâs fundamental belief that the courts cannot expand the law beyond what Congress has provided.â