Gibraltar is a juridically independent area in western Europe, and forms part of the Commonwealth of Nations as a British overseas territory.