Pretty cut and dry except the fact that according to that rule, even with a green flag, you couldn't pass until you got to the green flag station, I'm pretty sure that is not the case.
According to 19.3.3 we are driving under green flag conditions as soon as the checker waived so I wouldn't have been breaking any rules in that case.
Considering the confusing situation I would also hope that 21.1 would have come into play and I wouldn't have been DQ'd.
Bookmarks