Stars including David Beckham, Gary Lineker and Ant and Dec have failed in their attempt to get a massive tax bill overturned.
The celebrities had invested in a company called Ingenious, which enabled clients to cut their tax bill by investing in big-budget movies including Die Hard 4.0, The Life of Pi and Avatar.
They then recorded losses amounting to more than £1 billion, which could be offset against other earnings to reduce tax.
Each invested at least £100,000 in the scheme - a total of £700 million altogether.
However, the scheme aroused the suspicions of the Treasury, which as part of a £5 billion crack-down on "aggressive and contrived" tax avoidance schemes, last year started issuing tax demands to Ingenious's clients.
And while they appealed, a tax tribunal has now ruled against them, with judge Charles Hellier saying the investments were not "allowable deductions".
HMRC has been cracking down on tax avoidance schemes over the last three years, and now expects to recoup a massive £5.5 billion in unpaid tax by the end of this year.
"[Tax avoidance] involves operating within the letter, but not the spirit, of the law," says HMRC.
"Most tax avoidance schemes simply do not work, and those who engage in them can find they pay more than the tax they attempted to save, once HM Revenue and Customs (HMRC) has successfully challenged them."
This latest decision affects around 1,400 investors, including Wayne Rooney, Bob Geldof, Davina McCall, Robbie Williams and Jeremy Paxman.
Many say they were badly advised, and that they had no idea that the scheme was suspect.
David Beckham, though, must be feeling particularly upset at the news.
The tax scandal is widely believed to be the reason that he wasn't given a knighthood earlier this year, despite having been recommended for one by Olympics chief Lord Coe.