Sanilac County judge and prosecutor admit mistakes in rapist custody case