California court confirms Weinstein's rape ruling