Where I live, they always give you an initial drug test at your first court date, and they make their decision based on the result of said test. Though I don't see the point, if you get a possession charge, you obviously smoke...