I'm sure it varies wildly by location. I'm in the US, and even within the US I'm sure it varies quite a bit.
But there absolutely are shit head kids (and adults who behave like children) who would use a playground as a place to congregate and possibly get wasted. At least in the US. So I understand the need for such rules.
People can be awful.