The point about the rules quiz is not what you or I would do in a particular situation but what rules apply in a given situation. No system is perfect and there are even situations that probably won't arise. BUT in this situation, should it happen, who has right of way? - answer: Blue
Further to that I've seen this situation occur at least a couple of times at major championships where 'Blue' comes steaming in thinking he'll find a gap in the line of boats coming into the A mark and, hey, guess what? - so he has to tack and now can't lay the mark. Usually though 'Blue' doesn't carry on but gybes round and slots into a gap further down the fleet. Makes you think though if you are 'Red' doesn't it?