They installed a 'robot' which was basically a computer-controlled forklift that stored and retrieved bins. It had no 'eyes' or other sensors to tell if somebody was in its way, and since it traveled 25 mph, it was fairly dangerous. The people who designed the system did not want a killer robot on their hands, so they enclosed the entire warehouse in a high barbed wire fence. The gate was designed to stop the robot dead in its tracks the moment it was opened. It was also impossible to close it again from the inside.
Fools are so ingenious.
Our hero worked for this company, and needed a couple of bolts from the warehouse. Instead going through normal procedures, he decided to get them himself. He also wanted the robot to continue working, though we will never know why. Whatever the reason, he went to some trouble to set up a rope and pulley contraption that allowed him to close the gate from the inside. After thus insuring that the robot was still operating, he tried to get himself some bolts, but instead got a Darwin as the robot ran him down.