FOI: Perm sec dragged to court over failure to declare contr