Cops: Defendant assaults officers in court