A California judge says a disgraced officer at the heart of a police department sex scandal involving a teen prostitute behaved like a pimp with her.