Charlie Appleby-coached Modern Games won the Breeders’ Cup youth turf under extraordinary circumstances at Del Mar.
All the drama happened at the stalls, and his stablemate Albahr became angry and subsequently withdrew.
Modern Games, which was in the next post, was also removed by officers after leaving the front of the post.
However, after a few minutes of confusion, the track vets declared that he was fit to compete, but could only race for prize money and not for gambling.
Once the race was on, the two-year-old, ridden by William Buick, drove away to win by a length and a half from Tiz The Bomb with Mackinnon in third place.
Unhappy race goers expressed frustration at the events leading up to the race, and modern games were greeted with a chorus of boos from the crowd.
Appleby was delighted with his third career victory and equally pleased to report that Albahr had what were thought to be only superficial cuts and that Frankie Dettori was unharmed.
“It was a very peculiar and mentally challenging chain of events for the horse, but I always felt like he had the experience,” said the Godolphin trainer.
“Most importantly, both horses are fine and thankfully Modern Games pulled it out of the fire for us. It was actually under the bomb a bit earlier than normal, but it recovered and kept finding.
“We will send him back to the UK and spend the winter with him, and he will join our Guinea team next year.”
Buick said, “There was a lot of confusion back there, but the horse did nothing wrong. They opened the front door and he jumped out, he should have come from the back instead of the front.”
“The guy who opened my door took me out the front and told the officers what he did. Maybe there was a bit of confusion and panic, but my horse wasn’t hurt. They never touched it.
“You could see how professional he was and he took it easy.”
He added: “I don’t know why they scratched it, they told me later.
“I knew I was going to run, so I don’t want to focus on the whys and whys. It was out of my control.
“The boos were disappointing because he did a very good performance.”