A penalty was awarded after players had already left the pitch for half-time in Mainz’s Bundesliga win over relegation rivals Freiburg on Monday.
Referee Guido Winkmann called both sides back from the dressing room after consulting the video assistant referee (VAR) system and penalising Freiburg for handball.
Mainz midfielder Pablo de Blasis scored the penalty to put the hosts 1-0 up.
The second half was delayed by fans throwing toilet paper onto the pitch.
It was not related to the penalty decision but instead a protest against Bundesliga fixtures being played on Monday nights.
De Blasis scored a second on 78 minutes to secure victory, taking Mainz above Freiburg on goal difference and eight points clear of automatic relegation, while putting the visitors into the relegation play-off spot in 16th.
Mainz initially had the penalty appeal turned down after right-back Daniel Brosinski’s cross deflected off Freiburg centre-back Marc-Oliver Kempf’s hand and was saved by keeper Alexander Schwolow.
As the players departed the pitch, Winkmann was told to consult VAR and ran over to the other side of the pitch to watch the replay on a monitor.
Winkmann overturned the decision and awarded the hosts a penalty before having to recall the entire Freiburg side and the handful of Mainz players who had left the pitch.
Following a delay of over six minutes De Blasis scored the penalty in the bottom left corner and Winkmann blew again for half-time, during which the unfortunate Kempf was substituted.
De Blasis added a lucky second as his shot rolled over the line after hitting the inside of the post, with Schwolow out of his goal having passed the ball straight to Mainz midfielder Robin Quaison.