In reply to O. C. Curmudgeon:
In case...just in case...a goat had been training really hard and downclimbed, or jumped or fell off the top, and survived, the fence is there to stop it from wandering onto the Portway.
They didn't want to put the fence along the top of the cliff. It's less visually intrusive this way.