The Lost Hotel has two entrances, on Route 15, and Route 16. You can only access the teacher of the cosmic flip from Route 15. Remember that the hotel is like a maze. You could always get to the teacher, but the guard would always prevent you from walking in the room.