In the lobby, concourse, or public areas of a building (such as a hallway, or railway platform) a gentleman leaves his hat on. When entering a "private" area, such as an office, the hat is then removed.