I think it may be too late, but if it isn’t, bordering of a population where it is more widespread will help. Even if it is too late to prevent this variant from leaving Britain, it will lower the speed at which it spreads, giving time to prepare (assuming it is more widespread in Britain than elsewhere)
Because of that, I think this move may be overcautious, but I don’t see how it can be stupid or counterproductive.