A retired former High Court judge who was once punished for being an informant himself said the government should appreciate whistleblowers and informants and not punish them.