It has led to cancelled flights, border closures and a firestorm of criticism in the United States over its treatment of returning health workers.