A man just promised the dismissal of a marijuana possession charge if he did not get into trouble for six months was arrested in a Nassau County, N.Y., courtroom when observers detected marijuana on a conditional driver’s license he was surrendering to authorities.

In People v. Maharaj, District Court Judge Norman St. George ruled that, as a result of the latest arrest, the earlier arrest should be restored to the calendar.