Simple solution, a walk-in goal. If the team that scored don't allow them, shame on them and there is nothing the ref can do.
I had one on Saturday, CAR's flag went up or offside, but the player was not interfering, no whistle from me, full-back caught the ball, free-kick, the other team score.