and yes its actually surprinsingly enforced. I remember reading an article a few months ago where café's owners had to pay hefty fines for not implementing those "safety" measures.
> It's fairly simple; there is a captive portal where you have to enter your phone number, phone number that ends up being validated by sms.
They have similar requirements in China, and they do exactly the same thing there.
https://www.bankmycell.com/blog/how-many-phones-are-in-the-w...
It’s not a money maker for them, I doubt they care.
Some wifi access points (like the ones from cities) make you create an account though.
(more seriously, they could make it very annoying until you verify, like let you connect for a few minutes only, or at very low speed. Still, yes, and I guess this is a major reason why they don't make people verify their email address)
In high speed trains the wifi might also be stabler than your phone because the system behind the wifi is designed to work with the high speed you are moving at.
This is not something you can rely on however. Take it as a bonus if it works.