Whitehall officials tried to convince Michael Gove to go to court to cover up the grooming scandal in 2011, Sky News can reveal.