The IP address is not a great way to decide validity
The requirements for these petitions are being either a British Citizen or a UK Resident. A Brit in Spain has the right to sign the petition and be counted. Therefore scrapping IPs outside of the UK is not the way to go about it.
I hope they limited it to too many people using the same postcode, too many people for Vatican city etc, not based on IP address.