A court or authorised justice with power to hear a bail application may, of its own motion, refuse bail to an accused person or affirm a decision to refuse bail if--
(a) the accused person is in custody and is brought before the court or authorised justice on a first appearance for an offence, and
(b) a bail decision has not been made, or bail has been refused, and
(c) a bail application is not made.