Court gags celebrity affair story to protect children from bullies