Netherlands does this too, matter of fact beaches have dispensers maintained by a health insurance company. They did the math, it's cheaper to provide the nation with free sunscreen at convenient locations than to pay for all skin cancer scares. And it frees up healthcare capacity.
But I also saw it in Porto at a festival there. More and more this is showing up and it's a great thing.