The "Soft Limits" ($SOFTP_END, for example) are not safety-qualified. So, to range-limit the robot in a safety-qualified fashion, either hard stops (bolted to each axis) had to be used, or these range-limiting switches were used.
If you're depending on the Soft Limits to keep the robot from punching through the fence... well, I hope I'm never anywhere near those robots.
Having these switches wired directly into the robot is not something I've ever seen before. Where are these switches wired to?
Assuming the range-monitoring wiring was done properly, the switches should open when the robot moves to an unsafe range. So it should be possible to simply remove the switches and jumper the wires together.
After that, though, ensuring safety is up to you.