What did the court decide in Bostock v. Clayton County?
Answered for: US
it is impossible to discriminate against a person for being homosexual or transgender without discriminating against that individual based on sex
The Court held that firing an employee for being gay or transgender is discrimination because of sex under Title VII. The sentence above is the court in its own words.
This answer is true in US and nowhere else on this site. Another jurisdiction is another answer, or an honest gap: see what has been read for US.