If it was legal in their home country we wouldn't have drug tourism. Amsterdam would be just any other European city. It's the allure of being able to consume cannabis in a cafe that is simply irresistible, and a privilege.
As a non-Netherlands resident, I think the city takes it for granted that cannabis is legal-but-regulated and we shouldn't be so judgemental of tourists who otherwise have to obtain cannabis from the sometimes murky criminal underworld, and risk getting arrested or being sold low-quality weed, or worse: risk getting contaminated weed laced with synthetic opioids.