When certified copies of the proceedings for annexation are filed, as contemplated in section 17-402, the annexation shall be deemed complete; and the city or village to which annexation is made shall have the power to pass such ordinances, not inconsistent with law, as will carry into effect the terms of such annexation. After such annexation, the annexed city or village shall be governed as part of the city or village to which annexation is made. Such annexation shall not affect or impair any rights or liabilities then existing for or against either of such cities or villages, but they may be enforced as if no such annexation had taken place.