The Japanese Judicial system defers greatly to the government, to a far greater extent than in the US. The ruling Liberal Democratic Party uses a number of methods to manipulate the judiciary.
They appoint justices to the Supreme Court who are near the mandatory age of retirement (70), and use those "politically reliable" justices to keep the rest of the judges in check. The Justices have great control over district and job assignments, promotions and pay. Ramseyer and Rosenbluth (1993)
OP, is this a history or legal/constitutional question? Can you clarify what you're looking for? thx
Much of it depends on how the Japanese legislature interprets Article 9 of their Constitution.
Some perishingly few say that Article 9 prohibits Japan from ever having a standing military, period. The more common interpretation is that the Constitution allows for protective troops only, kind of like a UN Peacekeeping force.
The Japanese do not have an offensive military, because that's against the Article 9. Instead, they have the Japanese Self-Defense Forces (JSDF). Their purpose is to protect the Japanese homeland and their people, and is legally under the blanket of the National Police Force.
A (perhaps apocryphal) example of this is that Japan has no air-to-surface missiles for use against ships. Instead, their version of the US Harpoon is termed an "anti-landing-craft missile". Totally defensive, only used against enemies attacking the Home Islands!
Even the recent addition of Izumo-class aircraft carriers Helicopter Destroyers (DDH) are strictly defensive, designed for anti-submarine work.