On Friday , a three-judge panel from Second Circuit Court of Appeals dismissed the challenge from the state pension funds and upheld a decision by a New York bankruptcy judge approving the US government-backed plan to create a new entity to buy the assets of the troubled number three American automaker .