In combination with the M5 stud screw type 003, sensors with M8 threads can be mounted on M5 holes.
Likewise, sensors with M5 threads can be mounted on M8 holes.