A middle school principal in Iowa is in hot water for asking a female student to “hold his banana” while dressed in a costume resembling the fruit during a school assembly.

But now school officials are refusing to say whether Fort Madison Middle School principal Todd Dirth was ever disciplined for the creepy encounter, the Des Moines Register reported Wednesday.

Dirth was dressed as a banana, with a part of the costume protruding from between his legs, at a Dec. 13 event. He was shooting underhanded free throws when he asked the student to “hold his banana.”

In July, it emerged that an employee was disciplined over the matter — but the district has refused to disclose the person’s name, citing a law in Iowa that allows, but doesn’t mandate, government officials to keep some personnel records confidential, the Register reported.

“If the record is used in a disciplinary proceeding — whatever level that may be — then that record can be considered to be personnel records,” said Emily Ellingson, an attorney for the school district.

Dirth allegedly has a checkered past as principal. Last month, he was accused by a parent of leaving a bruise on a female student because she didn’t say good morning to him, the Fort Madison Daily Democrat reported.

Another parent claimed Dirth whacked her son on the back of his head. The administrator also allegedly removed a paper clip that kept a student’s lip piercing from closing.

Superintendent Erin Slater said the incidents were investigated and addressed.

“The fact that the parents do not agree with what the District has done does not mean that the District took no action or did not appropriately address the situation,” Slater said in a press release last month.

The school district has also refused to make public a video of the banana incident — a decision that was challenged in June by Charles Vandenberg, who owns hyperlocal news site Pen City Current.

Last week, an Iowa Public Information Board threw out Vandenberg’s complaint alleging that the video was being illegally withheld. The board said such complaints must be filed within 60 days of the denial of the release, which came in February.

Dirth hung up on a Register reporter when asked about the banana incident. Slater didn’t return a call.

Vandenberg said the public has a right to see the video.

“What expectation of privacy does a principal have in front of 600 students and 100 staff?” he asked.