Ms. Dannielynn if you’re nasty.

Anna Nicole Smith’s daughter, Dannielynn Birkhead, got a chance to wear one of Janet Jackson’s iconic outfits Friday night.

Jackson wore the black pantsuit to the 2003 Barnstable Brown Gala.Instagram@larryanddannielynn

The 15-year-old attended the Barnstable Brown Gala in the black pantsuit, oversize belt and newsboy cap that the “Rhythm Nation” singer wore to the same pre-Kentucky Derby event in 2003.

“It was purchased as a part of Janet’s @juliens_auctions benefitting charity,” Dannielynn’s father, Larry Birkhead, explained in an Instagram post, adding the hashtag “#prouddad.”

Dannielynn Birkhead and Larry Birkhead sitting on a couch together.Larry Birkhead shared this photo with Dannielynn before the gala.Instagram@larryanddannielynn

The father-daughter duo also had a chance to meet and take a picture with Jackson, 55, at the gala.

“What a night! … Janet was so gracious and complimentary of Dannielynn in her outfit,” Larry 49, captioned a follow-up post. “She made Dannielynn so happy and even graciously posed for a photo with us.”

Larry Birkhead, Janet Jackson and Dannielynn Birkhead posing together at a gala.Dannielynn and Larry met Jackson inside the event.Getty Images

Larry shared that he planned to take his teenage daughter to “her first @janetjackson concert,” too. The Grammy winner, who was inducted into the Rock and Roll Hall of Fame in 2019, and R&B group New Edition are set to co-headline a show at the Lynn Family Stadium in Louisville, Ky., Saturday night.

The Birkheads are regular fixtures at the Kentucky Derby, where Larry and Smith met in the early 2000s and sparked a romance.

Dannielynn Birkhead and Larry Birkhead on a red carpet.The Birkheads have attended the Kentucky Derby every year since 2008.Getty Images

The couple welcomed Dannielynn in 2006, just five months before the Playboy model died of an accidental drug overdose at the age of 39.

Larry said in a “20/20” special in 2021 that Dannielynn “doesn’t really know a ton of things about her mom” as she was only a baby when Smith died.