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.
Judiciary of Germany
The federal courts are administered by the federal government, all the other courts belong to a state and are administered by it. The independence of the judiciary that is laid down in the federal constitution (article 97 para. 1) only refers to the judicial decision-making process of any individual judge, not to the judicial power as a whole. In line with this, the courts are administrative bodies subordinate to the respective department of justice, special rules only applying to the judicial decision-making process and the status of the judges.