Morocco are through to the World Cup last 16, and the way they got there said as much about their credentials as the result itself. 

A 3-2 penalty win over the Netherlands in Monterrey, after a 1-1 draw across normal and extra time, made the Atlas Lions the first African side into the Round of 16 and underlined that their run to the 2022 semi-finals was no accident.

Ranked sixth in the world, one place above the Netherlands, Morocco played like the higher-ranked side for long stretches. 

Bart Verbruggen and the woodwork kept them out, and when Cody Gakpo struck on the break 18 minutes from time, it looked as though the Dutch had stolen it.

Gakpo had started despite announcing days earlier the loss of his unborn son, choosing to stay with the squad through his grief, and his goal was met with an outpouring from team-mates.

The lead did not last. 

Issa Diop headed home a curling Chemsdine Talbi cross in the opening seconds of stoppage time to force extra time, and from there Morocco found the resilience to win a shootout they could easily have lost.

How did Morocco beat the Netherlands?

By holding their nerve when the Netherlands could not. The Dutch missed three of their spot-kicks; Soufiane Rahimi's effort squirmed through Verbruggen to level the shootout, and Ismail Saibari sent the goalkeeper the wrong way to settle it 3-2. 

Achraf Hakimi, winning his 100th cap, struck the bar in open play and then the post from the spot, a near miss on a night that still belonged to his side.

Yassine Bounou's save from Crysencio Summerville, the Morocco goalkeeper moving early to his right, was the turning point. 

Noussair Mazraoui called it unfair that two sides of this quality should meet so early, then framed the win as the product of attitude as much as talent.

Mohamed Ouahbi, in the job less than four months after guiding the country's Under-20s to World Cup glory last year, watched his senior side match that pedigree.

How far can Morocco go at the World Cup?

Further than most, on this evidence. Morocco face co-hosts Canada in Houston on Saturday, and a quarter-final could bring a rematch with France, the side that ended their 2022 run in the last four, should the French get past Sweden or Paraguay.

The talent on show suggests a deep run is within reach. 

Hakimi, Saibari and Brahim Diaz are at the peak of their powers, while 18-year-old midfielder Ayyoub Bouaddi, who switched his allegiance from France only weeks ago, already looks like one of Europe's most coveted teenagers. 

Morocco beat Spain and Portugal on the way to the semi-finals four years ago, and on this showing, another European giant should not feel safe.