You agreed for the bag. The transaction was already completed before the dealer took the bag.

It was rightfully yours. Your friend should've kept it. If it was me, that dude would've been beaten down faster than he could blink.