Judge also reprimands singer’s lawyer and threatens gag after “irresponsible” comments the attorney made last week to the press