I’m thinking in terms of phrases like:
You may be [one connotation of denotation x] but you’re not [contrasting connotation of denotation x].
Two examples are:
He may have been your father, but he wasn't your daddy.
from Guardians of the Galaxy 2, which contrasts two different words meaning male parent: father meaning a biological parent, and daddy meaning a father figure responsible for upbringing.
Just because you’re correct, it doesn’t mean you’re right.
which contrasts factual correctness with moral rightness.
What I’m wondering is: does this kind of literary device have a name? Something less clunkier than ‘that thing Yondu said in GoTG2’? If not, does anyone have a suggestion how to call it?