A Scottish man was found guilty of possession of heroin and diamorphine with intent to supply in September.