Ok, no problem, you do you. [Mark order as undelivered and get a refund]
If the driver is going to add requirements to the delivery, they should communicate with the customer before picking up the food. So the customer can decline their service. Surprising somebody at the last minute hey I'm here you need to now do something for me isn't going to fly for most people.