Simple Verse was disqualified from first place in the Ladbrokes St Leger at Doncaster after a stewards' inquiry into interference with runner-up Bondi Beach.
The Ralph Beckett-trained Simple Verse looked like she had justified the decision to supplement her for the final Classic of the season, but her rider Andrea Atzeni, successful 12 months ago on Kingston Hill, had to manoeuvre his mount off the rail in the closing stages.
Simple Verse (8-1) and the Colm O'Donoghue-ridden Bondi Beach (2-1 joint-favourite) had a bit of a bumping match before the former passed the post a head to the good.
SIGN UP NOW
Want to become a GMS writer? Sign up now and submit a 250 word test article: http://gms.to/haveyoursay4
An inquiry was swiftly called into possible interference, and after both riders had argued their case, the announcement was made that the placings would be reversed, meaning another Classic for Aidan O'Brien.
Paul Smith, owner of Kingston Hill and representing the Coolmore operation which includes his father, Derrick, said: "I didn't have an opinion if he would get the race.
"When Colm got off the horse he said he'd got a couple of bumps and we had an awfully good case to argue in the stewards' room."
O'Brien was at Leopardstown, where he told At The Races: "I'm delighted, you're always sorry to get a race like that, but I think it was a little bit messy up the straight and Colm gave him a great ride. He's a brave horse.
"He was a little bit unlucky the last time in York this horse (narrowly beaten following interference in the Great Voltigeur) and there was no doubt he was running back at the line.
"I'm sorry for connections of the second, but we're delighted that he won.
"It's only his fifth run, he loves fast ground and he stays well. He'll be a lovely horse next year."
Beckett, whose Secret Gesture was recently demoted to third after being first home in the Beverly D, Stakes at Arlington in the same colours, said: "I'm astonished, apart from anything else. There's no consistency in the rules.
"We saw Stuart Williams' horse Suzi's Connoisseur pinned against the rail on the straight track at Ascot and Joe Fanning had to stand up in the irons and was beaten half a length but didn't get the race.
"We lose the race when clearly both horses leaned on each other. Can you say it was entirely her fault?
"It's absolutely certain we will appeal."
Atzeni was on Captain Morley in the following Napoleons Casinos And Restaurants Handicap and came home to a bitter-sweet success by four lengths in the Simple Verse silks.
Still extremely upset at having the Leger taken away, the Italian admitted he was crying in the stalls for that race.
He said: "I'm down, still feel low and felt like going home.
" I was crying in the stalls, but at the end of my day it's my job. That's what that's what I get paid for. That's racing.
"It's done, it's over. It's a shame for the boss really, he deserves a big winner and it's a shame for all the team.
"I'm gutted as I think the best horse won the race. It's hard, but these things happen. What can you do? I didn't think I would lose it, she was the best horse in the race. I gave the winner a little bump, he leaned on me as much as I did him.
"We will have to (appeal), it's a Classic and you can't let that go."
O'Donoghue said: "It's racing, we all want a fair shot at it, I had time (after first bump) to go and get him (Atzeni), but again I got impeded.
"My momentum was stopped, all I know is I tried to have a fair shot at it. I got impeded, and the rules have made the decision today."