The government of New Zealand recently passed a law aimed at eliminating tobacco usage. Rather than prohibiting the purchase of tobacco products altogether, the law instead prohibits their purchase by anyone born after 2008 and would require stores to refuse to sell tobacco products to such people.
To my understanding, the Human Rights Act of 1993 prohibits discrimination based on age unless the person discriminated against is under 16. The New Zealand supreme court apparently recently ruled that things such as a voting age of 18 violate these rules. Currently, anyone born after 2008 is under 16, but the law will presumably apply equally in, say, 2025.
Does the new tobacco legislation run afoul of the Human Rights Act? Or does it avoid any issues or create an exception?