5. After section 183 of the Principal Act, the following sections are inserted:
“183A. (1) The Minister may, by instrument, appoint an analyst to be the Government Analyst.
“(2) The appointment ceases to have effect if the person appointed ceases to be an analyst.
“183B. (1) The Minister may, by instrument, appoint an analyst to act as the Government Analyst—
(a) during a vacancy in the office of the Government Analyst, whether or not an appointment has previously been made to the office; or
(b) during any period, or during all periods, when the Government Analyst is absent from duty or from Australia or is, for any other reason, unable to perform the functions of his or her office.
“(2) The appointment ceases to have effect if the person appointed ceases to be an analyst.
“(3) Anything done by or in relation to a person purporting to act under this section is not invalid on the ground that—
(a) the occasion for the person's appointment had not arisen;
(b) there is a defect or irregularity in connection with the person's appointment;
(c) the person's appointment had ceased to have effect; or
(d) the occasion for the person to act had not arisen or had ceased.”.