Scott McLaughlin has claimed a record-breaking win in a chaotic Sunday leg of the Auckland SuperSprint at Pukekohe.
McLaughlin's 17th victory of the year, the most in a single Supercars season, came after an early safety car blunder turned the race on its head, and caused fury amongst several drivers and teams.
An issue with the car of David Reynolds saw the safety car come out on lap 21, and despite McLaughlin leading the race, the car picked up the field in front of Whincup, who then drove past it, despite the warning lights signalling him not to.
Whincup's team principal Roland Dane believed that while the safety car caused the confusion, Whincup was still at fault.
"To be honest, it's not good enough. If the yellow lights are on, you can't go past it.
"We still should be better than that but so should Jamie."
Making the matter even messier, the car then picked up the field behind Whincup a lap later, causing riders such as Lee Holdsworth, who was in second at the time but waited behind the safety car until being waved through, to tumble out of the top 10 through no fault of his own.
His team principal Tim Edwards was fuming at the error.
"There's a whole group of cars behind Jamie that had all pitted so it's a monumental stuff up - inexcusable," Edwards said.
"It's hard to calm them down because, even sitting in the cockpit, they know there's been a stuff up. They're just irate."
For his part, Whincup was given a drive-through penalty, ending his chances of claiming his second win of the season, after he had qualified on pole.
Instead, through all the drama came McLaughlin, who beat Craig Lowndes' 1996 record for most victories in a season when he crossed the line ahead of Shane van Gisbergen and Chaz Mostert.
Greeted by Lowndes in victory lane, McLaughlin laughed he had "completely forgotten" about the record.
"I wanted so badly to do this on New Zealand soil and I'm stoked. I'm really proud of our team to be up there with a guy like [Lowndes].
"I'm a lucky guy driving a cool car and just a proud New Zealander trying to do my thing."
McLaughlin started in fifth, and held the advantage once every car had completed their pit stops with 20 laps to go. From there, he controlled the race, winning by 1.9 seconds over van Gisbergen, with Mostert narrowly holding off Nick Percat for third.
The victory extends his lead in the championship to a mammoth 598 points over van Gisbergen ahead of Bathurst next month.