The investigations began as the office said that it had received a complaint about the judge, alleging that he “behaved inappropriately towards a number of staff”.