Motorists going abroad after 8 June are being warned they may need to take a code with them if they want to hire a car.