It's perfectly safe, if the extension cord is large enough gauge. I have a Kia Niro EV that I drove 500 miles home from the dealership when I bought it. I carefully planned my route (through an area where chargers were not plentiful) so I always had enough range to reach the next fast DC charger if one was inoperative. None were. Plan C, if I did run low on range, was to stay in a motel a day or two and charge with the charger that came with the car. I carried a 12 AWG (I have no idea how wire sizes are specified in NZ.) 50 foot extension cord. The size wire used to connect an ordinary 20 amp 110 volt AC outlet to the breaker panel is 12 AWG.
Short answer: It's fine, if the extension cord is heavy enough to carry the needed current without an excessive voltage drop. Err on the side of heavier.