Egypt will compete at the 2018 African Nations Championship in Morocco, despite being eliminated in the qualifying competition two months ago.
The Egyptians lost 4-2 on aggregate to Morocco, who are now automatic competitors in the 16-team event having replaced Kenya as hosts.
This opened the door for Egypt to be reinstated into the biennial tournament restricted to home-based footballers.
African football body CAF ditched Kenya as hosts last month for falling behind with preparations and Morocco were chosen to replace them at the weekend.
Angola, Burkina Faso, Cameroon, Congo Brazzaville, Equatorial Guinea, Guinea, Ivory Coast, Libya, Mauritania, Namibia, Nigeria, Sudan, Uganda and Zambia are the other finalists.
A draw on a date to be announced will split the 16 countries into four groups, from which winners and runners-up advance to the quarter-finals.
Democratic Republic of Congo (twice), Tunisia and Libya won previous Nations Championship tournaments.
FIFA classify CHAN matches as full internationals with results counting toward the monthly rankings.