Stairways and railings just inside the gate make a tour of the battlements safe.
It is safe to explore the battlements, due to the presence of the railings and stairs beyond the gate. 
Touring the battlements is not safe, due to the fact that there are no railings or stairways. 