In germany the ministry of justice (state, not city) is authorized to give orders to the prosecutors, allowing for a very direct influence of party politics onto the judiciary system.
That's correct, but it happens extremely rarely (the well-publicized! incident with netzpolitik.org and the Mollath case are the only ones that comes immediately to mind) and leads to massive criticism in the press.