Scott Thorson -- a central character in the HBO movie, "Behind the Candelabra" which has 16 nominations -- is getting anything BUT fabulous treatment, because he's NOT invited to the Emmys.
An Emmy official tells TMZ -- it's simple ... Thorson -- who is played by Emmy nominee Matt Damon ... doesn't have a ticket and the event is sold out.
It's not as if Liberace's former lover -- who's currently in an outpatient facility for drug abuse -- didn't want to go. TMZ obtained a letter dated August 8th and written by Scott's drug counselor, asking a drug court judge to give him a weekend pass to attend the Emmys.
Rather than feeling snubbed, Scott now says it's a good idea that he stay away from Hollywood -- too tempting, and all that.
You may recall ... Scott recently tested positive for meth. He could have gone to jail on a probation violation but the judge showed him mercy and ordered him to continue outpatient drug counseling.