The transformation corresponds to that between the coordinates (ecl_lon,ecl_lat) and (ra,dec) in the Gaia source catalogue (DR2).
(ecl_lon,ecl_lat)
(ra,dec)
eclToIcrs(polarXYZ(ecl_lon, ecl_lat, distance))