In an often messy match at Bluetongue Stadium, Gosford, Scotland had the final say, scoring with four minutes remaining to regain the lead and eventual pool winners Fiji by 18-16.
Scotland started the match strongest with Fiji missing the fire and encountering much stronger defence than they faced in the France game.
Jon Steel scored after only six minutes and it was obvious neither team was going to take a backward step, ferocious defence by both sides contributing to the constant flow of dropped ball.
Fiji replied after 25 minutes with Semi Tadulala going over to score the first of his two tries.
A set-to between Ian Henderson and Jason Bukuya five minutes before half time typified the passion this game was played with, but Scotland hit where it counted next with Michael Robertson winning the race to a Danny Brough grubber to score seconds before half time and give Scotland a 12-4 lead at the break.
Bukuya was back into the action shortly after half time stepping through the defence out wide and eventually forcing the ball to close the gap for Fiji. Wes Naiqama obliged with the sideline conversion.
Naiqama added a penalty soon after to level the scores.
The next points didn