I believe that as long as B did enough to get into the race and not have any other competition the player will sign with B... he will turn yellow for a bit then sign. I am not 100% sure on this because usually if someone has a player green but doesn't sign them, they are a "backup" option. In which case they would either sign him or they will fill their scholarships and then the player will drop team A and sign with B.