Former judge admits ‘sexual conduct’ with prosecutor, says it didn’t affect rulings