if (fastly.ff.visits_this_service == 0 && req.restarts == 0) {

  set req.http.client-geo-country = client.geo.country_code;
  set req.http.client-geo-continent = client.geo.continent_code;
  
  set req.http.client-geo-region = table.lookup(
    region_defs,                          # Name of table
    req.http.client-geo-country,          # Key
    table.lookup(region_defs, "_default") # Default value
  );
  
  if (req.http.client-geo-region == "blocked") {
    error 618 "geofence:blocked";
  }
  
  call set_latlng;

}