Citing dissents in majority opinions

In today’s decision in Halbig v. Burwell, Roberts cited Scalia’s dissent in another case to bolster his majority opinion. And this has happened in many gay marriage cases, where lower court judges ruling in favor of gay marriage have cited Scalia’s dissent in the DOMA case.

I know that dissents sometimes become the basis for later rulings overturning the initial ruling. But how common is it for judges to cite a dissent when delivering a ruling that is the opposite of the dissent?

I meant King v Burwell, of course.

nm

I haven’t read about it in great detail, but I think I saw something that said that that citation was made because Roberts thought that Scalia was contradicting himself.

In other words, Scalia’s writing in the earlier case supported Roberts majority view in the current case, even though Scalia didn’t side with Roberts in the current case. It was a way of highlighting an inconsistency to suggest an error in the current dissenting opinion