Another celebrity bites the dust on Twitter, but not for the reason you may think.

Hilary Duff's husband, music producer Matthew Koma, was permanently suspended from the social platform on Tuesday after impersonating another famous star.

Koma, 35, took aim at Gwyneth Paltrow when he changed his username on Twitter to her name and responded to a post about her skiing lawsuit that concluded last week. The tweet featured a photo of Paltrow leaving court and reportedly offering her best wishes to plaintiff Terry Sanderson. 

Matthew Koma in a red velvet tuxedo stands next to wife Hilary Duff in a blush bustier dress inset a photo of Gwyneth Paltrow in a blue jacket sitting in court

Hilary Duff's husband, producer Matthew Koma, pictured at center, was suspended on Twitter after impersonating actress Gwyneth Paltrow. (Rick Bowmer-Pool/Cindy Ord/VF23)

The original poster of the Tweet, with an equally deceiving verified username of @StevieNicks420 wrote, "I'll take my dollar now," referencing the single dollar Paltrow was awarded after winning the case. Koma, whose account was previously verified, wrote back as Paltrow, "Same man."

GWYNETH PALTROW WINS SKI CRASH LAWSUIT

A tweet reads "I'll take my dollar now" and includes a photo of Gwyneth Paltrow leaning over to Terry Sanderson in court, response is from Matthew Koma reading "Same man" as he impersonates Gwyneth Paltrow having changed his username to her name

Matthew Koma poked fun at Gwyneth Paltrow's $1 settlement for her skiing accident lawsuit on Twitter. (Twitter)

Twitter's misleading and deceptive identities policy states, "While you are not required to display your real name or image on your profile, your account should not engage in impersonation or pose as someone who doesn't exist in order to deceive others."

Koma shared a screenshot of the message he received from Twitter, alerting fans he had been banned.

"Goodbye Twitter: The troll was worth it," he wrote.

Screenshot of Matthew Koma's screenshot of Twitter's message saying he has been permanently banned with the caption "Goodbye Twitter: The troll was worth it"

Matthew Koma said that "the troll" was worth being banned from Twitter. (Matthew Koma Instagram)

Hours later, he posted again to his Instagram, cheekily addressing the "kind messages" he had received.

"Thanks for all the kind messages today. Closure's hard. But it's a community like you guys that keeps me positive and looking forward to the next time I find the opportunity to impersonate a celebrity on a social media platform. Big thanks @gwynethpaltrow for the inspiration," he wrote.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

Matthew Koma shared a photo of himself in a jean shirt and black beanie with the caption "Thanks for all the kind messages today. Closure's hard. But it's a community like you guys that keeps me positive and looking forward to the next time I find the opportunity to impersonate a celebrity on social media platform. Big thanks @gwynethpaltrow for the inspiration."

Matthew Koma teased fans on Instagram about the support they were offering him after he was banned from Twitter. (Matthew Koma Instagram)

Koma has been known to prank celebrities on social media in the past, inserting himself into popular culture or controversies. 

While appearing on "The Kelly Clarkson Show" earlier this year, Duff said of her husband, "He's a really great prankster. And, honestly, some of the posts on Instagram — if you don't follow him on Instagram, it’s quite a laugh.

"Sometimes his stuff is so weird it goes over my head. I’m, like, ‘I didn’t get that one,’ and then the other ones I’m, like, ‘I’m dead. You’re so funny. What's going on?'"

In an effort to capitalize on the new Greta Gerwig film "Barbie," which released promotional posters on Tuesday, Koma photoshopped himself onto the posters, along with Paltrow and Duff.

CLICK HERE TO GET THE FOX NEWS APP

Photoshopped faces of Matthew Koma, Gwyneth Paltrow, and Hilary Duff on the new Greta Gerwig film "Barbie" posters that were released the day before

Matthew Koma inserted his face, along with Gwyneth Paltrow's and Hilary Duff's into the viral "Barbie" posters released Tuesday. (Matthew Koma Instagram)

Koma wrote alongside a picture of himself, "This Barbie is Not Gwyneth Paltrow but Is Gwyneth Paltrow."

Above a photo of Paltrow, he wrote, "This Barbie is No longer on Twitter," referencing his own dismissal on the app.

He then shared a photo of Duff, writing, "This Barbie is about to find out her treadmill was moved," alerting his wife to some home alterations. 

Duff and Koma were married in December 2019 and share two daughters, Banks, 4, and Mae, 2. Duff also has a son, Luca, 11, from her previous marriage to Mike Comrie.