They cannot have it both ways, its a tax, its not a tax depending on which way the winds blowing.
Technically it won’t matter what it is called. Courts often look at “substance over form” so if left-leaning judges decide that in substance, even if not by name, it is a tax, they will decide it as such.