Weinstein in court