In my city in Germany all newer bus models have WiFi. Just join the network, agree to the terms and conditions (which consist of 5 short paragraphs) and you are set. No need for an ID.
Italy spearheaded this approach because of content piracy, under the pretense of organized-crime prevention. It was eventually seen as holding back tourism and economy, so it was dropped; but by then, the seed was planted (European law-enforcement agencies co-ordinate a lot, in this day and age) and found roots elsewhere in the wake of terrorist events. I don't think there is an explicit EU directive yet, though.
Many cities have, but free doesn't mean anonymous. You need to qualify (usually by residing in that city) and apply for an account with a personal username and password.