The judge who presided over Bill Cosby’s criminal case is defending his ruling that allowed testimony from five other alleged victims of the comedian in addition to Andrea Constand, as the case goes before a state appellate court.

In a 1925(b) opinion filed Tuesday, Montgomery County Court of Common Pleas Judge Steven T. O’Neill argued that his judgment of sentence should be affirmed.