Trump said he will comply with the court order and release the money immediately.