Emmys flashback: Donald Trump sings 'Green Acres' theme song while wearing overalls

Picture this: Donald Trump wearing a straw hat, overalls and catching a pitchfork while singing onstage in front of television's most elite talent. Now that the former "Apprentice" host is the president, it's hard to imagine this would ever happen -- but, indeed, it once did.

Back in 2005, with Ellen DeGeneres hosting the Emmy Awards, she held a competition during the live broadcast called "Emmy Idol," based on "American Idol," which was near its heyday that year, during which pairs of celebrities competed for a fake "Idol" title.

One of the pairings? Donald Trump and "Will & Grace" actress Megan Mullally.

The unlikely pair, who both had shows on NBC at the time, took the stage to perform the theme song from "Green Acres," to rousing laughter. Naturally, they went on to be crowned champs of "Emmy Idol."

12 years after their performance, Mullally reflected on the moment during an appearance on "The Late Show With Stephen Colbert" last year.

"He really wanted to win because people were calling in to vote," Mullally said. "We won it. So the next day, I was in my 'Will & Grace' dressing room and the phone rang and it was Donald Trump. And he said, 'You know what? We really needed to win that thing and we did. And you were a big part of that, so I just wanted to say that we really needed to win it. Not only did we win it, but I hear we killed them. It was a landslide!'"

As it always is, apparently.

See photos of the Trump family at the Emmys through the years: