Well, someone explained to me this last week that at a gate the most important rule is the overlap. So you may be on starboard getting to the starboard gate but at the 3 length all the boats on port are in front of your transom and as such overlapped: you owe them room.
This doesn't apply at the windward mark.