Text in force at CS25-28: from CS25-4, effective 27 Dec 2007.
All lavatory doors must be designed to preclude anyone from becoming trapped inside the lavatory. If a locking mechanism is installed, it must be capable of being unlocked from the outside without the aid of special tools.
ED Decision 2007/020/R · Source