It made me wonder what would happen if a player on a yellow got subbed and then picked up a yellow for something like the above, after the replacement player had come on. Presumably he'd be banned for a match because 2 yellows but they wouldn't make the player who came on for him go off.