Good thing it happened at home. It saved yourself some headache. I did manage to lock my keys in the cargo area of the X5 and I was away from home but luckily not that far so I got a ride home for the spare.
Now that you mention it, I don't know where my plastic key is.