Have you looked at the tax code? They’ve got hundreds of things both ways.
That’s no reason to permit it when it’s under legal argument. I’m not aware of any Constitutional amendment stating that anything in the tax code is beyond Constitutional/logical review just because it made it in there.