I would just add that in the case of cannabis, the lawful excuse offence would apply to a person who has received permission to possess cannabis for medical reasons. In that case, for all practical purposes it is a medication.
On June 19th, 2007. See this statement in context.