While covering back on defence, Goodhue took out centre Henry Chavancy without the ball as he was in support during a French raid.
Repeated big screen replays, much to Hansen's chagrin, persuaded referee Luke Pearce to take another look and duly hand out a yellow card.
Goodhue insisted the act wasn't deliberate even though replays suggested it was.
"I was ready to tackle him if he got the ball but ended up tripping on his foot," he said.
"I can see how they saw it so I'm not too bitter about it. It makes it more memorable I guess.
"It wasn't the perfect debut but I'm just glad the boys came away with the win in the end."
The All Blacks held on despite a late raid and Goodhue came back on to have the final say in the contest, booting the ball into touch.
Goodhue was in line to make his All Blacks debut in the Northern Tour opener after impressing for both the Crusaders and Northland throughout the 2017 season.
However, a bout of the mumps about two weeks before he was meant to leave with the All Blacks squad forced him out of contention for the Barbarians opener.
He said it has been a wild ride recently.
"It's been an absolute rollercoaster, the last few weeks. I couldn't believe it, it was the worst time for that," he said.
Despite the strong performance, Goodhue saw some things that need to be improved and that can only hold him in good stead going forward.
"I just have to get used to the occasion, I guess. I'll get another game soon enough and I just need to relax a bit more and play my instinctive game."