It’s not magic, really nothing more than sleight of hand, but it’s impressing the locals and right now that’s what matters. They’d been borderline hostile when the TARDIS showed up, suspicious, convinced the new arrival must be up to no good, but put on a little show for them and suddenly they’re all smiles, applauding his tricks by politely stamping all four feet in a complicated rhythm.
“And now, for the finale of my show, I will make my magical box vanish before your very eyes! Abracadabra, thingamabob!”
If this doesn’t get him taken to their leader then nothing will!