(1) At any time while a direction or order is in force under section 17, a judge of the District Court may revoke the direction or order if the judge is satisfied, on the application of a person affected by the direction or order, as the case may be, that the matters referred to in section 17 (1) or (2) do not, or no longer, apply.
(2) Such an application may be made only if notice has been given to the Garda Síochána in accordance with any applicable rules of court.