4. Unless the court or judge before whom a prosecution is to be brought, or the procedure which is to be followed, be mentioned in the statute enacting a penalty, the prosecution shall be brought, tried and decided before a magistrate, in accordance with the provisions of the Summary Convictions Act (chapter P-15).