The Scottish government has said that schools must provide separate toilets for boys and girls in new guidance issued following two landmark court rulings.
The guidance says that facilities must be made available on the basis of biological sex, but that schools can also provide gender neutral toilets.
Schools had previously been told that transgender pupils could use whatever toilets they felt most comfortable in.
They were also told that there was no law in Scotland which meant people had to use toilets and changing rooms based on their biological sex.
