Switzerland's desire to exit the tournament well shone through after the break, and after an extended bout of pressure with 20 minutes to go Eren Derdiyok's deft touch put Yakin through on goal and the striker blasted past Ricardo to spare the hosts the ignominy of finishing with no points.
Yakin then scored his and Switzerland's third of the tournament form the penalty spot after Fernando Meira fouled substitute Tranquillo Barnetta in the final ten minutes.
The result does not change Portugal's status as winners of Group A, but the break in their momentum may yet affect them in the quarter-finals.SWISS TXT published a full apology on its website and on page 776 of its television information service and national coordinator Gion Linder said it had been "an embarrassing mistake".