Both teams qualified after a goalless draw, despite a good second half performance from the Greek side and a lost penalty by Mitroglou.
The German side included promising stars with experience in the Bundesliga, such as Sebastian Tyrala, Jerome Boateng, and Anis Ben-Hatira.
It was the 90th minute when Ninis took a corner from left, aimed Lambropoulos at the near post and the young forward beat the German goalkeeper to give a dramatic and memorable 3–2 win to the Greek side.
Unfortunately Greece paid for the missed chances when Daniel Parejo scored a free-kick from a wide position on the 38 minute, after the best Spanish player, Aaron had won a foul from Siakas.
Greece showed an impressive fight to come back with chances missed from Moniakis, Siovas, Mitroglou and Papadopoulos but the Spanish defence held during the second half.
Kostas Mitroglou, with 3 goals in 5 games, shared the first scorer title with highly rated Ben-Hatira (Germany) and Monnet-Paquet (France).
The Spaniards started the tournament as the only country to have successfully defended the Under-19 title and, during the first half of their opening game against Greece, Julen Lopetegui's side produced trademark patient, possession-based combination play with Gerard Deulofeu, in particular, creating danger with his skill on either flank.
His run on the right provided Spain's first goal but, after the second, they struggled with the higher pressing by the Greek team and needed resilience to hang on for a 2–1 win.
With Spain into the semi-finals and the hosts eliminated, the Portugal v Greece match in Rakvere took on must-win dimensions for the latter, whereas Edgar Borges' team needed only a point.
After a cautious start, the game burst into life in the 16th minute when Giannis Gianniotas cut in from the right and rounded off a fine individual effort with a left-footed finish.
When Daniel Martins was shown a red card for violent conduct, Greece sensed their opportunity and, a few minutes later, captain Katidis scored the first of his two goals.
Even when the Greeks were also reduced to ten in the second half, they continued to dominate, even though substitute Betinho set up a nail-biting finish by making it 3–2 with a late goal.
17, Gerard Deulofeu, operating on the right wing after the break, was a constant menace with his incisive dribbling movements, the Greeks, meanwhile, threatened with inswinging corners and free kicks from Kostas Stafylidis and Giannis Gianniotas respectively.
Ten minutes before the end of the game, Gerard Deulofeu went to the byline and forced a save from the Greek keeper, Sokratis Dioudis, with a dangerous cutback.
The latter ran to the heart of the Greek defence and slid a perfectly weighted, subtle through pass to his fellow winger, Jesé who scored the only goal.