Anything done by a bail justice in his or her capacity as a bail justice is not invalid only because of—
(a) a defect or irregularity in, or in connection with, the appointment or re-appointment of the bail justice; or
(b) the failure of the bail justice to take an oath or affirmation of office as required by section 16 or 18(2)(b); or
(c) the bail justice being suspended from office at that time.