The amount of documented court fee, which according to the court decision is fully or partially reimbursed to the taxpayer by the other party, does not fall under the definition of a transaction for the supply of goods / services, so VAT on such a transaction is not charged.
Source: visnuk.com.ua