(1) This section applies where -
(a) an application for an order under section 195M is made within the period mentioned in section 195J, and
(b) the application is refused.
(2) This section also applies where -
(a) an order is made under section 195M extending the period for which property may be detained under section 195J, and
(b) the order is discharged or varied so that detention of the property is no longer authorised by virtue of the order.
(3) The property may be detained until there is no further possibility of an appeal against the decision to refuse the application or discharge or vary the order (as the case may be).