Growing up, I was always told that boys could come over if I leave the bedroom door open, and I see a lot with my friends that the girls would not be allowed to have boys over/in the bedroom/have the bedroom door closed or viceversa (boys with girls).
When I realized I may be gay and trans (masc), my parents were accepting and allowed me to have the door closed with girls because I was gay and still not with boys.
Then, I had a boyfriend and they said I could keep the door closed with anyone except my boyfriend.
Now, I’m nonbinary and bisexual. Would you allow your kids to close the door?
I wont cast a judgement one way or another on how to approach this, but just know that it is an incredibly common rule. Every girlfriend I had growing up had this same rule, or even more strict. For one I wasn’t allowed in her bedroom at all when I came over.
It sounds like your parents are perfectly including your identity in their decision. I know from experience that the rule sucks, especially when you aren’t even planning to do anything and just want to hang out in a comfortable space. But it is common, and quite reasonable considering how other parents might approach it.