Amazing!! Looks like some fencer power is needed here, as well as a fence... !A determined stripey, with his territory out of bounds, would either dig under, (unless on concrete) or climb over.
These are stills from a video, where this badger spent over an hour hammering at the gate before sliding in sideways.
how about this for escaped sheep!? I think it is probably useless for a badger, they'll just barge and rip their way through where ever they please. However, I have occasionally wished for a creep type gate like that when a lamb has got through the fence, it would be a godsend to have one of those on each fence line where we lamb.