In Portugal Hayden will drive "his" car wearing #3, likewise Thierry will be in "his" car wearing #20
With linked events such as Mexico & Argentina the car number is attached to the VIN so as an example had Hayden been promoted to the Manufacturers team for Argentina and Thierry moved back to the N team then they would have had to swap cars.