The achievement of µarcsec relative astrometry with ground-based, near infrared, extremely large telescopes requires a significant endeavour of calibration strategies. In this paper we address the removal of instrument optical distortions coming from the ELT first light instrument MICADO and its adaptive optics system MAORY by means of an astrometric calibration mask. The results of the test campaign on a prototype mask (scale 1:2) has probed the manufacturing precision down to ∼ 50nm/1mm scale, leading to a relative precision δσ ∼ 5e − 5. The assessed manufacturing precision indicates that an astrometric relative precision of δσ ∼ 5e − 5 = 50µas 1ar csec is in principle achievable, disclosing µarcsec near infrared astrometry behind an extremely large telescope. The impact of ∼ 10-100 nm error residuals on the mask pinholes position is tolerable at a calibration level as confirmed by ray tracing simulations of realistic MICADO distortion patterns affected by mid spatial frequencies residuals. We demonstrated that the MICADO astrometric precision of 50 µas is achievable also in presence of a mid spatial frequencies pattern and manufacturing errors of the WAM by fitting the distorted WAM pattern seen through the instrument with a 10 th order Legendre polynomial.