とやら in direct addressing


I encountered this sentence.

[code]

    「○○とやら、渡してはならんぞ。」
    
[/code]

The meaning is quite obvious: “○○, you mustn’t give it to them!”

The mystery to me is the とやら there. The meaning of “somebody called ○○”
doesn’t fit here for me. The speaker already knows the listener’s name and
both of them are standing in a single place. The direct addressing itself
should exclude the uncertainty that やら introduces, doesn’t it?

How does the やら change the meaning there?




Without knowing more of the context and the exact relation between the
parties, I'd say that `とやら` adds an element of disparagement/slight: "Mr ○○ or
whatever was your name, you must not hand it over".

relevant discussion: <https://hinative.com/ja/questions/97950>

Possibly they're playing it up for some observer...

