The city police shall act as bailiffs and be responsible generally for seeing that the courtroom is in proper condition for sessions of court, for assisting in keeping order while court is in session and for doing such other acts of assistance as may be required of them by the judge of the court and the city clerk.