I'm not sure how I did it, but I remember facing sideways and pressing A/D to enter the room, and somehow I got inside. I tried doing the same thing to get out, but it didn't work. XD