Dock war Karl XV,