There is hereby created a court to be known as the Municipal Court of the City of East Dublin which shall have jurisdiction and authority to try offenses against the laws and ordinances of such said city and to punish for a violation of the same. Such court shall have the power and authority to enforce its judgments by the imposition of such penalties as may be provided by law.