Namibia qualified for the 2007 World Cup finals in France with a 27-8 victory against Morocco in Casablanca on Saturday.
That win followed a 25-7 home win over the same opponents in the two-legged African qualification play-off. Flanker Hernan Lintveltd scored for Namibia to give them a 10-3 half-time lead.
Morocco were reduced to 14 men following the sending off of their captain Jalil Narjissi – and further tries from wing Melrick Africa (2) and full back Heine Bock cemented the visitors' win.
Abdelkafi Abachri's grabbed a consolation try for Morocca at the final whistle.
They go into group D and will face Ireland, France, Argentina and either Portugal or Georgia.