Steward Jock Campbell saved the day as Dunfermline beat neighbours Cowdenbeath 3-0 to stay on top of the Scottish First Division.
The 61-year-old G4S worker replaced injured referee Kevin Clancy for the second half after a 30-minute delay at East End Park.
Colin Cameron had run into Clancy in the early part of the first half and Campbell volunteered to take over running the line in front of the North Stand after the restart.
The Pars had gone ahead in the 28th minute after Josh Falkingham broke at speed to feed Joe Cardle who took a touch before firing past Thomas Flynn from 15 yards.
Cowdenbeath captain John Armstrong fouled Andy Barrowman two minutes late but Stephen Husband was denied from the penalty spot by Flynn's outstretched foot.
After the break and the half hour delay to find an assistant referee, Dunfermline settled the outcome through Blue Brazil skipper Armstrong slashing Ryan Wallace's free-kick past a startled Flynn into his own net (77).
And substitute Craig Darko ensured local bragging rights seven minutes later by converting an Andy Geggan cross.