No rights are not like pie.
The primary purpose of rights is to prevent harm to a person. As in actual harm, not hurty feelings.
Then rights are balanced on the situation depending on need. .
The next risk is dignity and privacy.
Then it's about other issues.
So in a situation where there is a risk of harm, you consider than but not at the expense of another group by increasing their risk.
If you are talking about changing rooms this is relevant. We have laws about voyeurism. So we have the physical risk and laws to be upheld about this.
Whilst their is thought to dignity it can not be at the expense of the dignity of others. All parties are worthy of dignity. So refering back to previous point about harms and dignity, you can't take that away from others. You have to find alternative solutions (the third party reasonable adjustment).
This isn't negotiable. You can't say one group is worthy but another isn't. It's not a hierarchy