Supreme Court rules on credit bidding