I doubt he was involved in ecstasy distribution in the first place. Since he wasn’t processed and moved to a jail, I think more likely than not he is a recreational drug user who was in the wrong place at the wrong time.
I just assume that he was lucky enough not to have it on his person.