The Supreme Court on Friday upheld the Insolvency and Bankruptcy Code (IBC) in a landmark judgment which will bar defaulting promoters from bidding for their own assets.