I'll be interested to know how it would work if a player is played through on goal and then flagged off side.
If the striker believes he is onside does he carry on to score? Do we then come back to the initial flagging? What would the defending team do?