The referee must stop play if an opponent is to be dismissed, he cannot play advantage. In your example, he would play advantage for the first bookable offence and allow play to continue, but if the same player committed a second bookable offence in that passage of play the referee would have to...