I have always been led to believe that the trial comes after the bail hearing.
the state has to justify their demand for no bond. At the start of this hearing all they had was the pc affidavit. (the document Dershowitz called “unethical”)
So the state has to try and salvage something not even a first year law student would write.