In a Baroque palace, access down an enfilade suite of state rooms typically was restricted by the rank or degree of intimacy of the visitor. The first rooms were more public, and usually at the end was the bedroom, sometimes with an intimate cabinet or boudoir beyond. Baroque protocol dictated that visitors of lower rank than their host would be escorted by servants down the enfilade to the farthest room their status allowed. If the visitor was of equal or higher rank, the host would advance down the enfilade to meet their guest, before taking the visitor back.
At parting, the same ritual would be observed, although the host might pay their guest a compliment by taking them back farther than their rank strictly dictated. If a person of much higher rank visited, these rituals extended beyond the enfilade to the entrance hall, the gates to the palace, or beyond (in modern State visits, to the airport).
Memoirs and letters of the period often note the exact details of where meetings and partings occurred, even to whether they were in the centre of the room, or at the door.[citation needed]

This is very fun if true and the [citation needed] saddens me. Does anyone have a source for this?