Is there a specific term for this particular situation in an argument: the opposing party change sides to agree with your (initial or not) affirmation while making it seem like this was always their own point of view?
You: "Proposition A is true." Opponent: "No, because [argument B]." You: "But [argument C] refutes [argument B] and shows [proposition A] to be true." Opponent: "Yes, that's what I said. So, you see that I was right: [proposition A] is true."
I know various fallacy terms, but I read none that focused on the "switching sides" aspect of this. Thanks in advance!