The Irish are in the semi-finals of Euro 2016 but it could be their opponents.
The winner of Euro 2017 has a chance of being crowned European champions, while the loser has a shot at being relegated to the third tier.
Ireland won the title in 2007, the year before they qualified for Euro 2008.
It is a unique status for Ireland, which has never qualified for the European Cup, but it has not lost a European tournament since 1992.
The game has taken a turn for the worse since the World Cup.
The hosts have not won a tournament since 1995 and, for the most part, have been outplayed by the defending champions, Portugal.
The Irish have beaten them three times, but Portugal have only beaten them once and have lost five times in all competitions.
The most recent victory was the 2014 European Championship quarter-final against Iceland, which ended in a 2-2 draw.
The Portuguese were the hosts, and Portugal are now in fourth place, seven points adrift of leaders France.