And that's how law quotes work. Sometimes the facts of the case bear on obiter dicta. Sometimes they don't. That doesn't change their degree of persuasiveness.
> because the transaction, upon its face, lies outside the plain intent of the statute. To hold otherwise would be to exalt artifice above reality and to deprive the statutory provision in question of all serious purpose.
...to the weird accounting used by Starbucks where their profitability (or otherwise) is chosen to please the people they talk to.
And, again, the courts will not help the tax man. That is, they will not read the laws in a way that places the onus of maximising the tax revenue on the tax payer.
Judge Learned Hand is, in this case, concisely explained that principle before going on to explain that it doesn't apply because the respondent didn't obey the law.
Legal reasoning is actually very simple. The first step is to be consider separate things separately.
Every single day judgements are written where a principle is outlined and then, when the principle has been breached, the judge says so.
Does that change the principle? No. Because it is the principle.
Certain obiter dicta are taken as "persuasive" by other courts because they form such a concise statement of a legal principle that they can't really be improved on.
The two quotes I gave above are widely used in tax law in multiple countries because they elegantly state the general principle that a taxpayer has no legal obligation to help the tax man raise more money.
Your latter quote is actually from Helvering v. Gregory, which was the 2nd Circuit case.
Here's a quote from the case actually named Gregory v. Helvering, which was the SCOTUS case[1]:
"In these circumstances, the facts speak for themselves, and are susceptible of but one interpretation. The whole undertaking, though conducted according to the terms of subdivision (B), was in fact an elaborate and devious form of conveyance masquerading as a corporate reorganization, and nothing else. The rule which excludes from consideration the motive of tax avoidance is not pertinent to the situation, because the transaction, upon its face, lies outside the plain intent of the statute. To hold otherwise would be to exalt artifice above reality and to deprive the statutory provision in question of all serious purpose.
Judgment affirmed."
In short, business transactions must have a business purpose, and the substance of the transaction is much more important than the form.
[1] http://supreme.justia.com/cases/federal/us/293/465/case.html