The job of World Cup qualification isn't done yet for France, who sit in first place in Group A of UEFA qualifying, but have not yet secured themselves a spot in Russian Federation next summer.
The Swiss defender put the ball into his own net four minutes before halftime and Andre Silva sealed the victory in the 57th minute as Portugal pulled level on 27 points with Switzerland but finished top of Group B on goal difference.
However, the Netherlands had gone into the fixture needing a miraculous 7-0 win to survive.
The draw for Europe's qualifying playoffs will be held next Tuesday. An Arjen Robben inspired 2-0 win was not enough for the Dutch, who had needed to win by a seven-goal margin to achieve a play-off place.
1998 World Cup winners France sealed their place in Russian Federation next year with a 2-1 home victory over Belarus.
Nirmala Sitharaman teaches 'Namaste' to Chinese soldiers
The gesture shown by the Defence Minister has been welcomed by both internet users and experts of Indian and China alike.
France have to beat Belarus in the Stade de France to advance to the world's top tournament in 2018, and while that's obviously not a bad situation, France would have preferred to have qualification wrapped up far before the final matchday of the group.
Missing out on the World Cup caps a remarkable demise for the Netherlands, who were runners-up at the 2010 tournament in South Africa and third in Brazil in 2014. In the seventh minute after the break, they scored their second through Thorgan Hazard.
Eden Hazard opened the scoring in the 12th minute with what was the only goal of the first half.
The older Eden then slotted in from the penalty spot after a handball from defender Giorgos Merkis. Hungary host Faroe Islands and Latvia take on Andorra in the group's other encounters.