This is the staircase to the Lighthouse tower. The rope was the only 'handrail' originally, the iron rales were added later (for the tourists I suppose).