You might call this a form of estoppel.
Or after so much bad faith flip-flopping, it's simply legal karma.
1) The party’s new argument must be clearly inconsistent with its earlier one;
2) The party asserting the new argument persuaded an earlier court to accept the inconsistent one;
3) That party “would derive an unfair advantage" if not estopped.