Thanks Dave - I hadn't considered the security aspect. And to answer your question, of course it should be both.
However, IMHO there is a big difference between a perceived risk and one that has been proven to exist.
I still think that the two examples show an inconsistent approach.
At one site, many people are known to have jumped the lock. No serious injuries resulted.
At the other site, the number of "jumpers" is unknown, but two people have lost their lives.
One site gets a sign, the other one doesn't.
Whether signage actually does anything to improve H&S, of course, is another issue..