assuming you block visitors from countries that are not relevant to your content using htacces, but you want to still allow search engines from some countries, e.g. a french website that must allow the googlebot from the usa,
but you dont want usa visitors to cause traffic on your website, would that be against the google guidelines?