IMHO, everyone's overthinking. It was a bad episode then (yes, I'm that old) and it's a bad episode now. I sincerely think it's wonderful that some above have researched the year it was broadcast, but it would be more useful to look at how other TV shows at the time treated the youth movement/hippies/counter culture, etc. I recommend viewing the era's various Dragnet treatments.
I LOVE Dragnet '67. That 'blue boy episode'. Heh.