Prof. dr hab. Jarosław Buszko at Nicolaus Copernicus University has kindly identified them for me. They're not the caterpillars of lovely butterflies, but the larvae of March flies (Bibionidae), and I am doomed. No, he says that, if they are very abundant, the larvae can damage the roots of herbaceous plants. I believe I will risk some damage and let them live.