Once ‘darling of the judiciary’ claims a smear campaign after his report on racism