A controversial Queens principal banished a veteran teacher to a book-storage closet and claimed he was “ruining his little black children,” according to a scathing Brooklyn federal lawsuit.

Lawrence Brenner, 57, claims PS 15 boss Antonio K’Tori — who was sued for alleged sex harassment last year in a case that is still pending — discriminated against older white and Jewish teachers to clear space for attractive females.

Brenner asserts that K’Tori accused him of no longer being able to control his students and used that as a pretext for firing him.

He was eventually canned in 2012 “based on the false disciplinary and performance record created by K’Tori,” the suit states.

Brenner claims K’Tori told him he was “ruining his little black children” in 2009 and told others that “you white teachers are hurting my little black children.”

The Board of Education declined to comment on the pending ligation. A city Law Department rep did not respond to a request for comment on the case.

K’Tori could not immediately be reached for comment.