city court responsibilities