Physical access required
If you have the key in your (temporary) possession there are easier ways for most cars.
EBD-II port is your friend. Just program a new key. Very few cars require a PIN and/or using a master key instead of the "mere mortal" key to perform this operation and the gadget to do it costs 20 Eu.
So frankly, if your car does not have special "valet" mode and if it is not documented to turn off all key programming functionality in that mode I suggest you park it yourself.
Oooopps... Sorry... forgot... Luxury vehicle. Parking it yourself is an insult to the snobbishness of the driver. Oh well, do not complain it got nicked then.