yes, but it won't change back to x3 once it's out... and when entering, since it'll enter when the tyres are completely used and possibly extremely low on gas, it may miss the pit exit and have to go another lap, on extremely used tyres and about to run out of gas...
so the solution is to either a-spec it and depend on your own, or b-spec it and keep on eye on it throughout the whole race