The key never left the inventory, nor did the character accept it - as expected. But from then on it functions as if the key wasn't in the inventory, at least according to the message received when attempting to access lower dungeon. Glad to help.