I got the answer from gis stack exhange. The problem came from asking for the conversion using East-North local coordinates instead of North-East. After that everything worked.