It is not unlawful to discriminate on the basis of age or impairment with respect to a matter that is otherwise prohibited under subdivision 1 if the discrimination happens in order—
(a) to comply with a Commonwealth Act (other than the Superannuation Industry (Supervision) Act 1993 ); or
(b) to obtain a benefit or avoid a penalty under such an Act.