On the outbreak of war in September 1939 the AA defences of Gibraltar had been weak, but the Royal Navy Dockyard and airfield became strategically vital in 1940 after the entry of Italy into the war and the Fall of France.