Wood reprimanded Avenatti in court, according to multiple media reports.

“You cannot declare your opinion as to Mr. Cohen’s guilt, which you did. You would not be able to give publicity to documents,” Wood said, according to the New York Daily News.

“You’re entitled to publicity. I can’t stop you — unless you’re participating in a matter before me.”