Yes. The code says “justice”, but “justice” is defined under section 2 of the code to include a judge of a provincial court, so it could be a justice of the peace or a judge of the provincial court.
On February 15th, 2023. See this statement in context.