In months leading up to the ruling, Donald Trump had himself pointed out that a judgement against the levies could cost America billions of dollars in revenue refunds.