A protruding socle that's 40 cm high is indeed a vulnerable spot, but the real question isn't whether to insulate it or not, but how to do it properly. If the house is occupied and heated, the first-floor floors will be cold without insulation, and condensation will accumulate under the house. Polystyrene foam works here, but it's important to understand: it needs to be protected from direct moisture and UV exposure. Just gluing it on and leaving it is wrong, because it absorbs moisture and loses its properties. You need waterproofing on top and a protective finish (plaster, cladding, or at least vinyl panels).
Here's the practical side: before insulating, make sure the foundation drains water properly. If meltwater accumulates nearby or groundwater sits close to the surface, the polystyrene foam won't help much - sort out the drainage first. A good approach: drill drainage holes around the perimeter in the socle at about 50 cm depth (every 1.5-2 meters) - this way moisture won't get trapped under the insulation and will just drain through the holes.
If your climate isn't particularly harsh and the socle is relatively dry, you can get by without full polystyrene insulation. Instead, at least lay a thin layer of foam (50 mm) between the waterproofing and the finish - it's the minimum that will already reduce freezing. The main thing is don't leave the socle bare and don't ignore drainage, otherwise it's guaranteed to be damp and cold.