Guidance on the use of toilets and changing rooms as single-sex spaces has come into force following a landmark Supreme Court ruling last year.