What kind of Judge approves such a gag order?
You might find it surprising that an executive signed a long-lasting non-disparagement agreement, but obviously they wouldn't have got the job otherwise. These are a very real problem. Especially the use of NDAs to cover up gross misconduct.
(a particularly egregious example: Neil Gaiman!)
People are probably too young to remember the "Spycatcher" fiasco: https://en.wikipedia.org/wiki/Spycatcher
Why would a judge pre-decide that any possible word or nod from the author would break an agreement, and consider that valid enough to remove someone's freedom of speech?