The regulation applies only to people who are already formally residing in Germany for at least 6 months. This restriction excludes visitors (and newcomers generally) from legally shopping for or owning cannabis in Germany. The cultivation and sale of cannabis in Germany would be controlled with the Ailment, as https://www.germandispensary.com/