 The statues were eventually taken down when Charles II came to the throne and were either repaired or replaced . A bronze statue of James II by Grinling Gibbons , depicting the king wearing the robes of a Roman emperor , stood just outside the garden in the Pebble Court from 1686 to 1898 ( with a short interruption during the Glorious Revolution ) . It now occupies a spot in Trafalgar Square outside the National Gallery . 
