Behind the wall is a tunnel leading from the head of the spiral staircase to the outer guardroom.
This can be observed through the spyhole in the wall.
The larger hole, behind James's head, is a shoot down which to pour boiling oil on to intruders.
The vertical door can be dropped to block the passageway under the floor.