I agree with your analysis... another factor I guess is that Google will want to ensure that Oracle cannot repeat this trick whenever Oracle wants in the future (breach of license, not re-infringement).
My work has had bad experiences with Oracle license chenanigans. Of course Google probably has better lawyers than my work does!