'You're under arrest for having murdered in the past even though you have no murder weapon on you!'
I'm not at all in favor of criminalising recreational drugs, But arresting someone for having done something illegal without them currently doing said illegal thing makes sense.