UEFA has ordered Hungary to play two matches behind closed doors following “discriminatory behavior” by supporters at Euro 2020.

Incidents of homophobic chanting are said to have occurred in all three Group F games against Portugal, France and Germany, prompting the governing body to investigate.

The Hungarian federation have now been informed that they are due to play two UEFA matches in an empty stadium, with a third of those matches being suspended for a two-year probationary period. The ruling does not apply to the European qualifiers for the 2022 World Cup, which take place under the jurisdiction of FIFA.

The Hungarian Football Association was also fined 100,000 euros and ordered to display a banner bearing the words “#EqualGame” and the UEFA logo.

Hungary played two of their group matches in the country’s capital, Budapest, before UEFA turned down a request to light up Munich’s Allianz Arena in rainbow colors for the game against Germany on the grounds of the gesture having a political context.

The governing body of European football said it had received the request from the mayor of the German city, Dieter Reiter. UEFA said the reason for the mayor’s request was a response to legislation passed in Hungary banning gay people from appearing in educational materials or school programs for those under 18.

Based on this, UEFA said it could not comply with the request and offered alternative dates for the stadium to be lit in the colors of the rainbow. Reiter later called the decision “shameful”.