A son who claimed he was growing cannabis to help his mother with her cancer has been told that despite his "humane reasons" for doing so, it was still illegal.