Minn. Stat. § 287.24
Any person who grants, assigns, transfers, or conveys any land, tenement, or realty by a deed, writing, or instrument subject to the tax imposed by section 287.21 shall be liable for such tax but no public official shall be liable for a tax with respect to any instrument executed by the official in connection with official duties.