The Scottish First Minister praised Glasgow for stepping in to ensure the 2026 Games went ahead after the Australian state of Victoria pulled out.