NASCAR stupidly gave Johnny Beauchamp the trophy right after the race ended, and then had to give it to Lee Petty. It was similar to the mistake Steve Harvey made hosting the Miss Universe pageant, but it took much longer to fix.
Thankfully, today's electronic timing systems coupled with state-of-the-art cameras make it possible to know who won a race the split-second it's over (in most cases).