If:
(a) a person or a court does an act in the purported exercise of a power or performance of a function under State or external territory law; and
(b) the act could have been done by the person or court in the exercise of a power or performance of a function under the State or territory laws applied under section 428;
the act is taken to have been done in the exercise of the power or function under the applied law.