It will work if +/- 180 degrees longitude is on the same plane in the other ellipsoid's local frame.