Google: If Blocking a Country’s Traffic, Don’t Block Googlebot
Site owners need to be careful not to block Googlebot if they’re blocking entire countries from access their site.
Google’s John Mueller advises site owners to be careful not to block Googlebot if they choose to block traffic from an entire country.
Mueller addressed this topic twice over the past week. It came up once during the Google Search Central SEO hangout on April 9, and also came up in a Reddit thread.