Michael Jackson's doctor appears in court.