See https://github.com/OSGeo/gdal/pull/4047 and https://lists.osgeo.org/pipermail/gdal-dev/2021-August/054600.html, probably enforcing 4326 axis order. See also advice to use `OSRFindMatches()` rather than `AutoIdentifyEPSG()`.