Spline and foliage

Hello! I have a spline which has “Layer name”. In theory, there should not be grass on the splen, since this is a property of the material that I attached to the spline, but for some reason there is grass. What is it connected with?