This is such a landmine topic, because most countries did this, including the UK and the US; see e.g. the MS St. Louis. This is why there are several "heroes of the resistance" that in modern parlance are "people smugglers", forging credentials and visas in order to help people escape.
Today you see exactly the same hostile attitudes to non-white refugees of basically every war except Ukraine.