It has a door, just not a conventional one. The hatch closes over the stairs and gives you the walkway to the toilet. (Assuming this is only accessed by the stairs below, if this is on the main floor it's dumb but it looks like some attic guest room thing to me.)