Britain's first response to Napoleon's Continental System was to launch a major naval attack against Denmark. Although ostensibly neutral, Denmark was under heavy French and Russian pressure to pledge its fleet to Napoleon. London could not take the chance of ignoring the Danish threat. In August 1807, the Royal Navy besieged and bombarded Copenhagen, leading to the capture of the Dano-Norwegian fleet, and assuring use of the sea lanes in the North and Baltic seas for the British merchant fleet. Denmark joined the war on the side of France, but without a fleet it had little to offer, beginning an engagement in a naval guerrilla war in which small gunboats attacking larger British ships in Danish and Norwegian waters. Denmark also committed themselves to participate in a war against Sweden together with France and Russia.