That could potentially get you arrested. For example, you check to see if the hallway is clear, you dash into the hallway naked to take the pic, another door open and a parent with children comes out. They say nothing and continue walking.
But unknown to you, the lady complained to the front desk manager who calls the police and arrest you for a number of criminal offenses.