from https://islamqa.info/en/114129
We should add here that this is also the view regarded as more correct by the Council of Senior Scholars in the Kingdom of Saudi Arabia. In their book al-Buhooth al-‘Ilmiyyah (3/467), they said:
Similar to that is the purity of that which has been fertilized of trees and crops with impure things; their fruits are permissible because of the transformation of the impure substance. Another similar case is the purity of alcohol which turns into vinegar; it is permissible to consume it, sell it, drink it and use it in other ways, after it had been alcohol which it is haraam to drink, sell or buy, and that is because of this transformation.