31. Where a municipal court has jurisdiction over territories situated in different judicial districts, the territories are deemed, notwithstanding the Territorial Division Act (chapter D-11), to be situated in the same district as the chief-place of the court. The first paragraph also applies to the judge, clerk and deputy clerk of a municipal court when they act as justices of the peace.