When I'm in a public establishment and there's a wait for the bathroom, I prefer not to stand too close to the door, because then I'm right in the face of the person exiting.
In particular, I think exiting a bathroom is a time when most people would least like to have a stranger right in their face.
On the other hand, I find that if I stand back a distance, people don't realize I'm waiting for the bathroom and just go around me:
This puts me in the uncomfortable position of having to constantly deliver the bad news that yes there is a line for the bathroom and I'm in it.
It may be that there's no good solution to this problem. But perhaps there's a way I haven't thought of to stand back a distance but still make it obvious I'm in line? Some way to make it conspicuous that I'm waiting without being intrusive?