Just chiming in to point out that it is illegal to discriminate on the basis of race, sex, religion, age (over 40), sexual orientation, transgender status, etc. Under the bona fide occupational qualification (BFOQ) defense, movie producers can discriminate on the basis of religion, sex, or national origin for a role, but they can never discriminate on the basis of race. This is a bit of a formality, however, because producers can discriminate on the basis of physical characteristics, so it is easy for a savvy producer to justify passing over Brad Pitt to play Malcom X, for example.
Because Bostock is so new, it hasn’t been decided how the sex-based BFOQ will work vis-a-vis gay and transgendered people. It would seem to me that being gay or transgendered is not a BFOQ for a role that portrays someone who is gay or transgendered, because that trait can be expressed by acting. I think the more interesting question is whether a producer can discriminate against a transgender female for a female role. That’s obvious sex discrimination under Bostock, but the questions are (1) does the text of the statute allow BFOQs based on biological sex (it did under prior law, but I’m not sure how, if at all, Bostock may have changed that) and (2) whether being a biological female is a BFOQ for playing a female role.