A tenured grade school guidance counselor was wrongly fired, perhaps because his school’s principal disliked him, a Manhattan judge ruled Wednesday, ordering a new hearing to determine a lesser penalty.

Glen Fox, was fired from P.S. 150 in Brooklyn over charges that he did not keep adequate records or follow certain instructions. But Supreme Court Justice Alice Schlesinger (See Profile) ruled in Fox v. Department of Education, 101263/13, that the penalty of termination was far too severe for Fox’s alleged conduct.