That's right. It is the judge or justice of the peace who makes that decision.
Under the current law, is there anything that restricts a prosecutor from recommending the release of someone seeking bail? Is there anything in the Criminal Code that restricts them from doing that?