Your scenario would only occur when both cars are driving at their maximum achievable speeds. That only happens on very few race tracks like this one.
No, it would occur when the cars are geared properly for the track that they're driving at. Which is what racing teams do, because they aren't too stupid as to leave speed on the table. And shifting is basically the same between cars on the same track, since they achieve about the same speed at the same points of the track, if the engines are close in performance. It's not like you're gonna be drafting behind someone going for an overtake, while still having gobs of rpms to spare.