I study in an Indian college which is kind of liberal (you can skip classes, roam freely in the campus, exit and enter campus anytime, talk with people of opposite sex, etc.).
So there are different schools in my college (School of Technology, Pharmacy, Humanities, etc.). Each school is located in different blocks. Generally a student from any school can use the washroom which is located in a different school. So School of Tech student can use washroom which is in the block of School of Pharmacy. There's no rule which says that any student can use any washroom but it is de facto in some sense.
The college prioritises a specific school. Let's call it X. When a student tried to enter the washroom in school X, the security guard restricted the student from entering, saying that only students of school X can enter the washroom (they are following the orders of higher officials). Is this legal? Is this a human right violation?
I'll try to give some more context. The college is like a U-shaped building. It looks something like this:
Source: https://x.com/CCTV/status/933252547455860736
So, all the blocks of the college are interconnected and all the students can move from one block to another without any restriction.
All students can access washroom of any other block (which can belong to a different school). Only school X is restricting entry and not following the de facto.