I agree, but this was about free/complimentary wifi services, so in these cases you are not really buying anything. I think most of them are also blocking porn sites, etc.
Court-ordered things are legal.
In this case it was not a court order, as explained in the article.
I can't see how this relates to the parent post's opinion.