Tectonic inversion and structural inheritance in mountain belts