Happened to me and the room was occupied
This exact situation happened to me in 2012 at a Hilton Garden Inn in Pennsylvania. It was late and was a walk-in. The receptionist assigned me a room, and I opened the door, flipped on the lights, and terrified a couple sound asleep in bed. I was livid, so I can only imagine how the other customers felt.