Means for limiting the axial insertion of the lid on the container