§ 405. Sheriff need not attend or designate officers to attend terms of courts in Erie county unless requested. The sheriff of the county of Erie shall not be required to attend or designate any officer to attend at justices' chambers or at special terms of the supreme court, or at any term of the county court and surrogate's court held in said county of Erie unless requested so to do by the justice, judge or surrogate presiding thereat.