I mean, I don't agree with the top level comment here, but this isn't a reverse-free-speech issue. Courts are absolutely free to restrain what public officials can say.
E.g., a regulator cannot say "if you don't burn this book, we'll tax you out of existence" while a person could say "if you don't burn this book, I'll vote to have you taxed out of existence"