The restriction applies as long as it can *potentially* be used over a network, that is, as long as it has network features (e.g. is a server or web app).
You can indeed remove such features and make it purely local-only and ignore that license term then, but that's not typically very useful.
