That’s deeply inaccurate. When AZ became a state, the legislature at that time imported all their old laws into state law. The AZ court was correct when it found that there was simply nothing on the books invalidating that.
The idiots here are in the AZ legislature, not the AZ Supreme Court.