The reality star is chastised for a notorious Instagram post during her divorce proceedings

Bethenny Frankel angered lots of people this summer when she posed in her 4-year-old daughter Bryn’s Hello Kitty pajamas for a notorious Instagram photo.

On Thursday, a Manhattan judge let Frankel know she wasn’t amused by the pic, either.

Get push notifications with news, features and more.

“No more pajamas!” Manhattan Supreme Court justice Ellen Gesmer told Frankel’s lawyer during the reality star’s divorce proceedings, reports the New York Daily News.

The lawyer, Allan Mayefsky, didn’t disagree with the judge, but did say: “It was done as a joke.”

“It’s not a joke. Her child is not a joke,” the judge replied sternly, saying Frankel’s photo will have repercussions for Bryn for years to come.

Frankel was not in the courtroom at the time. She was waiting in a hallway as her and ex Jason Hoppy’s lawyers were talking to the judge about placing a value on their assets. She declined to comment later as reporters asked about the judge’s opinion.

Frankel, 43, and Hoppy are working through the rest of their divorce proceedings, having settled their bitter custody battle over Bryn back in June.

When reached by PEOPLE, a rep for Frankel had no comment on the proceedings.

Want more stories like this?

Sign up for our newsletter and other special offers:

Thank you for signing up!

Bethenny Frankel Thrilled Custody Battle For Daughter Is Finished