I'm not 100% sure about this but I don't think a court would overrule a judgement which it agreed with. However, it might disapprove of the judgement (or, more specifically, it's reasoning) to the extent that the former case might as well be overruled because the new rule is clearly the one in the later judgement.