legal consequences for misconduct