Turkey kept alive their outside hopes of reaching the last 16 at Euro 2016 and eliminated the Czech Republic thanks to a 2-0 win on Tuesday, but flares thrown on to the pitch by their fans could yet have ramifications.
The result, thanks to goals from Burak Yilmaz and Ozan Tufan, also meant Northern Ireland qualified for the last 16 as one of the four best third-placed teams.
Turkey, whose fans also clashed with each other in the stands, finished third in Group D on three points and must hope the third-placed teams in the final two groups do not match that figure.
The permutations of the expanded tournament are so complex that even governing body UEFA's website was wrong for a time.
Turkey's progression is unlikely but the Czechs are definitely out after finishing bottom of the group on one point, despite having more chances than the Turks in the game.
Turkey coach Fatih Terim made a bold call to hand 18-year-old winger Emre Mor his first start but it paid off as the diminutive new Borussia Dortmund signing burst down the wing to set up Yilmaz for the 10th minute opener.
Yilmaz, whose place was under threat after misfiring so far this tournament, met the pullback first time to expertly guide the ball inside Petr Cech's near post.
The Czech Republic, without injured captain Tomas Rosicky, had the better of the rest of the first half but their finishing was not up to scratch.
Tomas Sivok clipped the woodwork with a header, Tomas Necid poked wide, Pavel Kaderabek went close and Jaroslav Plasil’s stinging effort was saved by Volkan Babacan.
Turkey, who had to win to stand any chance, were annoyed at the referee blowing the half-time whistle just after they had won a corner.
This enabled the Turkey fans to take their anger out on the referee rather than each other after scuffles between around 20 supporters over the use of firecrackers. Stewards managed to sort out the situation after some minutes.
The second half started scrappily and was peppered by some hefty challenges.
Hertha Berlin midfielder Vladimir Darida, playing further forward to fill in for Rosicky, had arguably the best chance for the Czechs but Babacan handled well. Tufan then fired superbly into the top corner on 65 minutes after the Czechs had failed to clear a free-kick, prompting Turkey’s bench to pile onto the pitch in ecstasy.
It also led overly excited fans to hurl flares on to the field in the latest incident of crowd misbehaviour at the tournament.
Turkey were already facing possible UEFA action over previous fan disturbances.
Captain Arda Turan ran over to tell supporters to calm down and will now be hoping UEFA's rulings and the remaining group stage results go Turkey's way.