You have to admit, dressing up a giant pile of money to schools this way was an incredibly shrewd political move. Even now that the plan has been blocked, that won't reflect badly on the administration which made the plan, it will just focus anger towards conservatives and the SCOTUS.
This was something with no political downside.