Incorrect.
GDPR does allow foreign government, as long as they have similar protection as GDPR, process the data for law enforcement and criminal investigation.
See also https://commission.europa.eu/law/law-topic/data-protection/i...
See also https://commission.europa.eu/law/law-topic/data-protection/i...