The prosecutor formally has to make the case to extend the remand prison, but it's a formality.
Of course it benefits the prosecutor to keep someone locked up while you work on the prosecution evidence.
But it severly restricts the imprisoned person from working on their defense. Thus, it is bad for the legal principle of "equality at arms".