The Treaty of Locarno paved the way for Germany to rearm itself and regain some of its lost territory.