I understand the question is related to Australia, therefore I would say, the two possibilities are all valid.
The story can go like this: federal parliment had past the law, then one of the states decided to adopt the law. (Australian federal parliment has a rather limited power to make laws, and not all laws past in federal parliment wi