The Secretary is authorized to make payments in lieu of taxes on any real property to which title has been or is hereafter acquired by him in fee under
section 1748b of this title as effective prior to
August 11, 1955, and on which taxes or payments in lieu of such taxes were payable or paid prior to acquisition by the Secretary. Such payments may be made in connection with tax years occurring prior to or subsequent to
October 5, 1962. The amount of any such payments shall not exceed taxes on similar property and shall not include interest or penalties. If the Secretary has acquired or hereafter acquires title in fee to real property by foreclosure or by transfer from some other department or agency of the Government or otherwise during a tax year, he may make a payment in lieu of taxes prorated for that portion of the year remaining after his acquisition of title. This subsection shall not authorize any lien against property held by the Secretary, nor the payment of any tax, nor any payment in lieu of any tax, on any interest of the Secretary as lessee or mortgagee.