He that complies against his will,
Is of his own opinion still;
Which he may adhere to, yet disown,
For reasons to himself best known:
Samuel Butler - Hudibras (1684)
Although in Biden's case I suspect he has no idea why he said what he said and is quite ready to disagree with himself as often as seems necessary.