Yes this was the case for Venezuela, they started taking flights again when the El Salvador news came out.
Refusing to repatriate citizens was part of the argument the Trump admin used to justify use of the Alien Enemies act.
If this holds up in court the strategy going forward is pretty obvious. Any country that refuses to repatriate criminals will get hit with the AEA. This will be very politically painful for any country as they rely heavily on remittances from undocumented immigrants in the US, and will quickly fold.