Bill Cosby wins in court.