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.
Supreme Court of Spain
The Supreme Court is one of the three branches of the Spanish government, alongside the legislature and the executiveTo ensure its independence, the Supreme Court has the prerogative to enforce its actions under the principle of obedience to final judicial decisions enshrined in the Constitution. Also, most its resolutions are reliable since they are solutions to appeal against the considered decisions of lower courts.