Despite a probable “miscarriage of justice” in a child assault case, a federal judge said the law requires him to dismiss a habeas corpus petition he granted last year.

“Though it would if it could, this court can grant petitioner no relief,” Eastern District Judge Jack Weinstein held Monday.