>>103641103The latter, definitely the latter.
At the end of the episode, Gadget still refuses to acknowledge that Lupin was the notorious master thief, even when told so by everyone. He attempts to prove Lupin's inocence by showing everyone the artifact he's helped recover.
Cue to Lupin screaming about where the hell did he put the loot.