231. (1) Any judge of the Court of Appeal or of the Superior Court, or clerk of the court , or clerk of the peace, or clerk of the Crown, or judge of the sessions, on the application of the board of directors of any railway company whose railway passes within the local jurisdiction of such judge, clerk, or judge of the sessions of the peace, as the case may be, or on the application of any clerk or agent of such company, thereto authorized by such board, may, in their or his discretion, appoint any persons recommended to them or him for that purpose by the Solicitor General, in writing, and by such board of directors, clerk or agent, to act as constable on and along such railway.
(2) Every person so appointed shall take an oath in the form or to the effect following, that is to say:“I, A. B., having been appointed a constable to act on and along ( here name the railway ) under the provisions of the Railway Act, do swear that I will be faithful and bear true allegiance to the constituted authorities, in the said office of constable, without favor or affection, malice or illwill, and that I will, to the best of my power, cause the peace to be kept, and prevent all offences against the peace, and that, while I continue to hold the said office, I will, to the best of my skill and knowledge, discharge the duties thereof faithfully, according to law: So help me God.”
Such oath shall be administered by any such judge, clerk, or judge of the sessions of the peace.