It drew criticism even from judges and congressional leaders who backed Zelaya 's ouster in a June 28 military-backed coup that was condemned by much of the rest of the world , including the U.S. government and the United Nations .