I don’t understand this (besides it being stupid). It looks like the hot is connected to the fence, and the other conductors are cut off. If you plugged this in, wouldn’t the breaker trip? If the neutral were connected as well (not sure), I would think the breaker would trip immediately. If someone touched the fence (let’s say in bare feet), don’t you think the human would have a higher resistance than the fence’s connection to ground, and not get shocked?

While we’re on the subject of stupidity, I had an idea for keeping intruders off of my suspended deck, but not sure if it would work. If I ran a conductor around the base of my deck, suspended from insolated poles, and connected it to one of those electronic fences for dogs, would an intruder who climbs the deck and touches the wire get zapped? Keep in mind he would be standing on the wooden deck- I can’t see how he would be grounded to complete the circuit. What am I missing?