High Court judge's resignation controversy