The City shall have power, insofar as the exercise thereof shall not conflict with or contravene the provisions of any general law of the State, to acquire by purchase any premises within the City at any tax or other public sale of by direct purchases from the State of Michigan or the fee owner when such purchase is necessary to protect the lien of the City for taxes, or special assessments, or both, on said premises. The City may hold, lease, or sell the same solely for the purpose of securing therefrom the amount of such taxes, or special assessments, or both, together with any incidental expenses incurred in connection with the exercise of this power. Any such procedure exercised by the City in the protection of its tax lien shall be deemed to be for a public purpose.