Actions against this state.
1.
(1)#
If the department has levied upon or sold property, any person, other than the person who is assessed the tax out of which the levy arose, who claims an interest in or lien on that property and claims that that property was wrongfully levied upon may bring a civil action against the state in the circuit court for Dane County. That action may be brought whether or not that property has been surrendered to or sold by the department. The court may grant only the relief under subd. 2. No other action to question the validity of or restrain or enjoin a levy by the department may be maintained.
(2)#
In actions under subd. 1., if a levy or sale would irreparably injure rights to property, the court may enjoin the enforcement of that levy or prohibit that sale. If the court determines that the property has been wrongfully levied upon, it may order the return of specific property that the department possesses or grant a judgment for the amount of money obtained by levy. If the property was sold, the court may grant a judgment for an amount not exceeding the amount received by the department from the sale. If the property was purchased by the state at a sale under par. (f), the state shall be treated as having received an amount equal to the minimum price determined under that paragraph or the amount received by the state from the resale of that property, whichever is larger.
(3)#
For purposes of an adjudication under this paragraph, the assessment of the tax upon which the interest or lien of the department is based is conclusively presumed to be valid. Interest shall be allowed for judgments under this paragraph at the rate of 12 percent per year from the date the department receives the money wrongfully levied upon to the date of payment of the judgment or from the date of sale to the date of payment.