The top hat flange shape allows spring loading. Slide the spring and ring over the leads, insert the sensor tip into a milled hole, and push down on the retaing ring to compress the spring and secure the sensor.