More importantly, if a law on its face is one with respect to taxation, the law does not cease to have that character simply because parliament seeks to achieve a purpose not within Commonwealth power.
If a law is explicitly about taxes, it doesn't become irrelevant just because the legislature intends to use it for purposes beyond their constitutional power.