Tthe court could attach the endowments itself if it wished never mind what the college was allowed to use it for legally.
Yes and no. Depending on how the endowment is structured, they money never passes to the school unless the conditions are met. If the school doesn't meet them - no funds.
Lawyers for these endowments got smart once schools and judges started trying to redirect their funds.