A key lesson from just prior to the outbreak of World War II is that countries that open their doors to scientists threatened in their home countries solve two problems at once: they protect human lives while securing their own nation’s scientific future.
Historically, the most successful strategies were combinations of local and national efforts (e.g., universities inviting visiting positions combined with immigration paths).