In Example 5a, by the time the hearer processes the second occurrence of the door, she has already had a mental entity corresponding to the door (after processing the first occurrence).
the second occurrence of the door refers to an old entity.