Cardiff Blues scrum half Tomos Williams was the hero as Wales upset the formbook at the Junior World Championship in New Zealand to beat France 13-3 and qualify for the 5th to 8th place play-offs.
A Williams try and eight points from the boot of outside half Angus O'Brien was enough to see Wales win the game and finish second in the pool.
The two sides finished level on points in the group but Wales earned second place by virtue of winning the game between the two sides.
It was an outstanding performance from Byron Hayward's side who had seen their chances of reaching the semi-finals of the competition significantly diminish on the back of Friday's defeat at the hands of Ireland.
They fell behind in this game to a fourth minute penalty from Baptiste Serin but were level by half time after Cross Keys and Newport Gwent Dragons pivot O'Brien converted his single penalty shot at goal, 14 minutes before the interval.
A second successful kick from O'Brien edged Wales in front and though France had their moments it was a converted try from scrum half Tom Williams that earned the youngsters the valuable win.
Seemingly shut down by the French defence, Dragons centre Jack Dixon sent through the perfect kick that Williams caught and took to the line. O'Brien converted and though there were difficult moments in the final quarter, Wales held on to give themselves a chance of finishing 5th, while France will compete in the 9th to 12th place play-offs.
Wales Under 20 team manager Mark Taylor said: "It was an excellent performance all round today. The boys stuck to the task and showed a huge amount of desire and commitment. We put some good defensive phases together and we took our one scoring opportunity well.
"It's a tough tournament and following the disappointing defeat to Ireland, it was important to get back on track with a win. We can now aim to reach the fifth place play-off which will be played at Eden Park on Finals Day along with the third place play-off and the final."
Wales will host the opening games of the Singha Premiership Rugby 7s Series at the BT Sport Cardiff Arms Park as the four Welsh Pro teams go head-to-head in an exciting afternoon of summer derby rugby.
Can't get tickets for the Rugby World Cup? Well now you won't have to miss a second of the action alongside passionate fans as we are running two special events so you can watch the big games with Cardiff Blues and in the company of some Welsh rugby legends!
One of the most eagerly awaited events of the British motorsport calendar - the British FIM Speedway Grand Prix - will return to the Millennium Stadium on Saturday, July 4 - and at Cardiff Blues we've got FIVE PAIRS of tickets up for grabs!
The players at Cardiff Blues will be hoping to play with some true Gallic flair for the rest of the Guinness PRO12 season - after the region teamed up with a successful French bistrot in the Welsh capital.