Sustainable Development and Institutional Capacity in the Conditions of War: National and International Legal Aspects