I was doing legit music downloads and streams for the major labels in late 1999/early 2000 and I was using some sort of paid IP database to determine which of the 34 countries we covered the user was connecting from, so I could pay the right royalties.
Was the market really that small for IP geolocation 25 years ago? I don't remember it being a problem to source the data...