There is no question that Congress did not have gay or trans people in mind when the law was passed. So from an ideological point of view, the case presented a conflict between two conservative judicial philosophies: textualism (what the words on the page actually say) and originalism (what the writers of the law meant).