The judge overseeing the criminal case of late convicted pedophile Jeffrey Epstein has ordered a hearing to discuss prosecutors’ motion to dismiss the case.

Manhattan federal Judge Richard Berman on Wednesday instructed the parties to appear in court on Aug. 27, following a request from the US Attorney’s Office that Berman throw out the indictment in light of Epstein’s death.

The judge said he would allow prosecutors and defense attorneys to speak — as well as lawyers for Epstein’s accusers, if they wish to be heard.

The 66-year-old was found unresponsive in his cell at the Metropolitan Correctional Center on Aug. 10. The city medical examiner later ruled he died of suicide by hanging.

While prosecutors asked the judge to dismiss the case, US Attorney Geoffrey Berman has repeatedly suggested his office is not done investigating Epstein’s alleged child sex trafficking ring.

“As this office has previously stated publicly, it remains committed to doing its utmost to stand up for the victims who have already come forward, as well as for the many others who have yet to do so,” the top prosecutor wrote in a letter to the judge.

The parties are due in court next Tuesday at 10:30 a.m.