Why a spare now beats all-keys-lost later
With a working key in hand, programming a spare is a straightforward job. There is a key to copy from, so it is quicker and cheaper.
Lose that last key and the picture changes. All-keys-lost means starting from scratch on the immobiliser side, which takes more time and costs more. The maths is simple. A spare now is the cheaper move, every time.