Every child in the US learns about the Three Branches of Government, namely the Legislative branch, which makes laws, the Executive branch, which enforces laws, and the Judicial branch which interprets laws. Later, kids learn that many other countries also have similar divisions in government, even though there may be minor differences, for example the UK where there is no person with the Executive role of President per se, but there is still an Executive branch of government.
Are there any countries, or possibly self-governing jurisdictions within countries, that are missing one or more of these branches? For example, is there a country where there is literally no legislature to make laws, and judges in legal cases apply community consensus for every case? Is there a country where there are no courts, and instead of criminal trials, one writes a nice letter to their congresscritter asking for a Bill of Attainder to be drafted, introduced, and voted on against the person who stole your money? Are there any countries that have no executive department, lacking police, immigration officers, public prosecutors, probation officers, health inspectors, child welfare officials, and other executive positions?
Alternatively, are there jurisdictions where branches are really and truly-o merged? For example, a country in which there is no legal distinction between a police officer, a prosecutor/district attorney, a judge with subject matter jurisdiction over criminal cases, and a prison guard, effectively meaning that a cop can arrest you (wearing an Executive hat) and “try” you himself (wearing a Judicial hat), then if he finds you guilty, manage your sentence?
I am primarily interested in it from a theoretical perspective rather than language games regarding translations of laws or the official, legal names of government offices. For example, if a country has officials that perform many or most of the typical functions of judges, such as mediating at trials and ruling on the interpretation of laws, but their official title translates as “Community Peace and Decision Captain”, then they are judges and part of the Judicial branch according to the meaning of my question.