The idea seems to be that a male-female relationship can plausibly stand in for a relationship between two men, and same-sex attraction can stand in for heterosexual attraction.
This case concerns a female-born minor proceeding with testosterone treatments to transition to the opposite gender. A court order prohibits using the pronouns "she" and "her" to refer to this female child.