Olympiacos qualified for the last 16 of the UEFA Champions League despite missing two penalties in a 3-1 victory over eight-man Anderlecht.
Javier Saviola put the hosts ahead shortly after the half-hour mark, before Sacha Kljestan pulled the Belgians level out of nothing before the break.
Saviola then saw his penalty saved four minutes into the second period, after Cheikhou Kouyate had been dismissed for a second yellow card, but made up for it by restoring Olympiacos' lead nine minutes later.
Substitute Vladimir Weiss had a chance to all but seal qualification in the 72nd minute, but found Silvio Proto in inspired form as the goalkeeper kept out another spot-kick, before Fabrice N'Sakala became the second Anderlecht player to be given his marching orders late on.
Remarkably, a third penalty was awarded and Proto dismissed for his foul on Weiss, and substitute Alejandro Dominguez kept his cool against stand-in keeper Aleksandar Mitrovic to wrap up the win.
The result sends the Greek side through due to their superior head-to-head record against Benfica, who triumphed 2-1 against Group C winners Paris Saint-Germain.
Saviola and Michael Olaitan came into the Olympiacos starting XI as part of four changes to the side that beat Asteras Tripolis 2-0 in the Greek Super League on Saturday.
Anderlecht, meanwhile, made just one alteration from their 2-0 victory over Waasland-Beveren in the Belgian Pro League at the weekend, with Luka Milivojevic replacing the suspended Massimo Bruno.
Olympiacos applied the early pressure, but failed to take advantage of two free-kicks from the edge of the penalty area.
Saviola and David Fuster exchanged passes brilliantly in the 32nd minute to set up a chance for the Argentine, who glanced his effort agonisingly wide.
However, he made up for that miss less than a minute later, firing a low left-footed effort into the bottom right-hand corner of the net after receiving the ball from Fuster once again.
But Anderlecht levelled six minutes later with their first attack of the match. A counter from an Olympiacos corner culminated in Dennis Praet squaring the ball to Kljestan, who was left with a simple finish from 12 yards.
Olympiacos were awarded a penalty just four minutes into the second half, with Kouyate shown a second yellow card for his handball in the area.
But the subsequent spot-kick was poor, Proto getting down to his left to keep out Saviola's strike with relative ease.
Saviola went from villain to hero nine minutes later by acrobatically getting the final touch to a Fuster strike and divert the ball beyond Proto to restore the hosts' lead.
Roberto had to be alert to deny Guillaume Gillet, before N'Sakala brought down Weiss in the area 18 minutes from time, handing the hosts a second penalty. But they failed to make the most of the chance once again as the Slovak was denied by Proto.
N'Sakala picked up his second yellow card in the closing stages and Proto followed him down the tunnel in stoppage time, with Dominguez completing the scoring from the spot.
|Stanislas brace leads Bournemouth past Yeovil|
|Watford slip to friendly defeat at Cardiff|
|Lukaku injury sours Everton win at Dundee|
|UEFA Champions League Review: Fenerbahce draw blank as Monaco impress|
|West Brom earn friendly win over Walsall|
|Vardy at the double as Leicester beat Burton|
|Atletico impress in win over Oviedo|
|Herrera sacked by Mexico after ´punch´|
|Gerrard, Keane and Bradley pull out of MLS All-Star squad|
|Marseille reach Diaby agreement|
|Sammer thrilled with Vidal´s winning mentality|
|Platini expected to launch FIFA presidency bid|
|Romanov sacked me over Barca snub - Korobochka|
|Villa complete Crespo capture|
|Wolfsberger v Borussia Dortmund: Bender praises ´fun but exhausting´ training|
|Okaka swaps Sampdoria for Anderlecht|
|Southampton v Vitesse: Fonte excited for ´dream´ sojourn into Europe|
|Bournemouth agree King compensation|
|West Ham v Astra: Kouyate confident West Ham can progress|
|Vidal completes Bayern switch, signs four-year deal|
|Fabregas calls for Champions League improvement|
|BREAKING NEWS: Filipe Luis completes Atletico return|
|Bayern to present Vidal|
|Wenger unfazed by Mourinho´s spending jibe|
|Pellegrini: Sterling will justify price tag|
|Cavani hit with two-match Uruguay ban|
|Bonucci to remain at Juve until 2020|
|No bids for Berahino - West Brom|
|Putin: Blatter deserves a Nobel prize|
|Howe: Swansea a benchmark for Bournemouth|
|New Parma to play in Serie D|
|Mata vows to hit the goal trail at United|
|Drogba ´perfect fit´ for Montreal|
|Berahino ´not yet´ ready for Tottenham - Irvine|
|Romero lauds caring Van Gaal|
|Jese flying at Real under Rafa|
|Sampdoria unwilling to pay €10m for Balotelli|
|Mourinho talks up Arsenal title chances|
|Hull sign Ryan Taylor, Sam Clucas|
|Kane, Pochettino hail MLS All-Star test|
|Di Santo sorry for swift Werder departure|
|Mourinho tells Ronaldo: Team honours come first|
|Khedira returns to Juve training|
|Celtic v Qarabag: Champions League return of utmost importance, says Collins|
|Pellegrini: Jovetic had to go|
|Manquillo completes Marseille move|
|Schalke reject Juve´s Draxler bid|
|Blanc: Di Maria deal ´close´|
|Di Santo debut ends in stalemate|
|Fire sign Drogba, trade him to Montreal Impact|
|FIFA and UEFA welcome ruling on third-party ownership|
|Juve kick off title defence against Udinese|
|Stoke sign free agent Afellay|
|Benitez confident Ramos will stay|
|Fenerbahce issue warning to fans|
|UEFA Champions League Preview: De Boer confident Ajax are ready for Vienna test|
|Bility: I am the favourite for FIFA presidency|
|Pienaar to miss start of season|
|Vietnam 1 Manchester City 8: Sterling shines as tourists run riot|
|All-Star Keane relishing Spurs clash|
|Shaun Wright-Phillips joins brother Bradley at Red Bulls|
|Inter 0 Real Madrid 3: Rodriguez stunner caps comfortable win|
|Villa sign Ayew|
|Watford complete Berghuis transfer|
|Robben returns to Bayern training|
|Pulis anxious to make West Brom additions|
|David Luiz eager to welcome ´fantastic´ Di Maria|
|Fernando injury free ahead of new campaign|
|Hummels blames weight issues for poor season|
|Defoe hoping for early Sunderland goals|
|Depay hints at identity of ´surprise´ United striker|
|Tigres UANL v River Plate: Hosts look to bounce back and make history|
|Crespo set for Villa move|
|Terry: I would never join a Premier League rival|
|Van Gaal coy on United future|
|Romero to cover potential De Gea exit - Van Gaal|
|Uruguay win men´s football gold at Pan Am Games|
|Pirlo thanks New York City fans for ´beautiful´ welcome|
|Mexico capitalised on ´the mistakes we made´ - Schafer|
|Herrera delighted with Mexico display|
|MLS Review: Whitecaps build happy home, Pirlo debuts|
|Guardado wins Golden Ball at Gold Cup|
|NZF confirms Olympics disqualification appeal|
|Jamaica 1 Mexico 3: CONCACAF giants complete form turnaround|
|New York Red Bulls 2 Benfica 1: Another scalp for MLS side|
|Romero signs with United|
|Moghreb Tetouan 1 Al Hilal Omdurman 1: Visitors go top|
|Van Gaal rules out Ronaldo bid|