The Times analyzed sentencing data to determine how L.A. County courts today handle cases in which men admit to statutory rape -- also known as unlawful sex with a minor -- in exchange for the dismissal of more serious rape charges , as Polanski did .