A battlement is a wall or fence that would protect someone from falling off a roof.

In those days the roof was akin to our patio and that's often where they entertained. Having a guest fall off your roof would make you a poor host.

I, myself, have not had any parties on my roof lately.

Silverkz