Spurs had agreed terms to sign player before last-minute hijack