Brazil needed an extra-time winner from Malcom to claim Olympic gold with a 2-1 win over Spain on Saturday.
Brazil see themselves as the spiritual guardians of "the beautiful game" but, over the last few decades, Spain have usurped the Selecao.
With just one game of a gruelling summer schedule remaining, this will no doubt come as a blessed relief to Spain midfielder Pedri.
Marco Asensio scored an extra-time winner to give Spain a 1-0 win against Japan at the Miyagi Stadium in Rifu on Tuesday.
Japan face a tough test against Spain in the semi-finals of the men's football at the Tokyo Olympics as they continue their gold medal quest.
Japan playmaker Takefusa Kubo is ready to give Spanish football a reminder of why he already has had spells at the country's biggest clubs.
Spain have made the men's Olympic football semifinals as Rafa Mir scored a hat trick to secure a 5-2 victory over Ivory Coast in extra-time.
Spain dominated the match against Australia with their young stars but Australia showed that they still have a future at the Olympics and beyond.
Spain captain Mikel Oyarzabal's winner means the Olyroos' hopes of qualifying for the quarterfinals come down to their final match against Egypt.
|South Africa U23||3||0||0||3||-5||0|
|South Korea U23||3||2||0||1||+9||6|
|New Zealand U23||3||1||1||1||0||4|
|Ivory Coast U23||3||1||2||0||+1||5|
|Saudi Arabia U23||3||0||0||3||-4||0|