High court sides with man challenging officials