Every year as an official we have to take a few tests about the laws of the game. And every year there is a question about someone denying a goal who is not a player on the field. Here is a real example of the this situation.
Variation on the theme. Would the restart be any different if the person that had denied the goal been a fan and not a substitute?