If judgment is rendered against the Franchise Tax Board, the amount thereof shall first be credited against any taxes and interest due from the taxpayer and the remainder refunded to the taxpayer or his or her trust or estate, or in the case of a corporation, its successor through reorganization, merger, or consolidation, or its stockholders upon dissolution, by the Treasurer on warrants drawn by the Controller.
Ca. Rev. and Tax. Code § 19392