Earlier quoted context omitted.
The UK isn't the US. The UK government does not work like or even resemble the US government.
Looks the same setup as the US. Courts are part of the government https://www.judiciary.uk/about-the-judiciary/our-justice-sys...
“The justice system is one of the three branches of the state. The other two branches are the executive, or the government, and the legislature, which is the two Houses of Parliament”