As many have asked where this comes from here it is: R. v. Montgomery, 2010 ONCA 243:
 The charges were prosecuted as summary conviction offences and their trial was conducted by Her Worship Justice of the Peace Diane L. Jackson. They were convicted of the offence under s. 35(1) of the Act. They challenged the jurisdiction of the Justice of the Peace by means of a prohibition application before the Superior Court of Justice. Gunsolus J. dismissed that application and they now appeal to this court.
 We see no error in the reasoning or result below. The trial proceeded as a summary conviction proceeding. The reviewing judge correctly explained the source of jurisdiction of the Justice of the Peace to try this case. In summary, his reasoning proceeded as follows. Section 798 of the Criminal Code provides that:
Every summary conviction court has jurisdiction to try, determine and adjudge proceedings to which this Part applies in the territorial division over which the person who constitutes that court has jurisdiction.
Section 785 of the Criminal Code defines “proceedings” as meaning
(a) proceedings in respect of offences that are declared by an Act of Parliament … to be punishable on summary conviction …
and “summary conviction court” as including:
a person who has jurisdiction in the territorial jurisdiction where the subject matter of the proceedings is alleged to have arisen and who
(b) is a justice or provincial court judge, where the enactment under which the proceedings are taken does not expressly give jurisdiction to any person or class of persons....
Finally, in s. 2 of the Criminal Code, “justice” is defined as including a Justice of the Peace.
 This court has recognized that justices of the peace are empowered to try summary proceedings involving federal legislation: see Lyne v. Canada (National Capital Commission) (1997), 32 M.V.R. (3d) 292 (Ont. C.A.). At the relevant time in these proceedings, s. 17(2) of the Justices of the Peace Act, R.S.O. 1990, c. J.4, expressly authorized provincial justices of the peace to conduct such trials. Section 17(2) read as follows:
Justices of the peace shall exercise the powers and perform the duties conferred or imposed on a justice of the peace by or under an Act of the Legislature or of the Parliament of Canada.