Local government in the Philippines
Local governments have two branches: executive and legislative. All courts in the Philippines are under the Supreme Court of the Philippines and therefore there are no local-government controlled judicial branches. Nor do local governments have any prosecutors or public defenders, as those are under the jurisdiction of the national government.
Court system of Canada
The first is the term "provincial court", which has two quite different meanings, depending on context. The first, and most general meaning, is that a provincial court is a court established by the Legislature of a province, under its constitutional authority over the Administration of Justice in the Province, set out in s. 92(14) of the "Constitution Act, 1867". This head of power gives the Provinces the power to regulate "... the Constitution, Maintenance, and Organization of Provincial Courts, both of Civil and of Criminal Jurisdiction, and including Procedure in Civil Matters in those Courts". All courts created by a Province, from the small claims court or municipal by-law court, up to the provincial Court of Appeal, are "provincial courts" in this general sense.