You cannot design anything that can prevent every accident every time when the cause is deliberate human stupidity.
But you don’t know who was the stupid one ~ the designer? ~ the guys who filled in the moat with concrete? ~ the fellows who decided it was OK to leave the tops off the big cat cages?