The 1930 London Naval Treaty restricted the British submarine fleet to a total tonnage of 52,700 tons, a maximum standard surfaced displacement of 2,000 tons for any boat, and maximum gun armament of 5 inches .