When you have been charged with a criminal offence, such as a minor theft, it is possible that you may be released at the police station with a promise to appear and you may be subject to conditions on an undertaking. In other cases, such as drug trafficking, the police may decide that they will not release you at the station. This could be because of nature of the allegations, the fact that you have a criminal record or you breached previous release conditions. In those cases, the police must bring you before a justice within 24 hours of your detention. This means you are brought to the courthouse where an assistant Crown attorney will look at your file and determine whether they will consent to your release. If they do not consent to your release, then you will have a bail hearing where the justice will determine whether you should be released.