So on reasonable and probable grounds, a person can be arrested if a police officer believes an offence has been committed and this is the individual responsible. The law requires that this individual must be brought before a justice of the peace within 24 hours; it's forthwith and within 24 hours. Once that is done, once the police satisfy that legal requirement to bring an offender before a justice of the peace, then the justice of the peace may remand that individual in custody for a period of time. That may be, with their consent, for an extended period of time, or for a shorter period of time, to enable a bail hearing to take place.
I have no direct experience on this, so you must forgive me--I want to qualify my comments--but I believe that's what transpired in this case.