```python
def convert_list_dictionary(l1, l2, l3):
    """
    Converts three lists into a nested dictionary.

    Elements from l1 are keys for the outer dictionary.
    Elements from l2 are keys for the inner dictionary.
    Elements from l3 are values for the inner dictionary.

    The function iterates over the lists in parallel. If the lists have
    different lengths, the iteration stops when the shortest list is exhausted.
    If l1 contains duplicate keys, the value associated with the last
    occurrence of the key will be retained.
    """
    nested_dictionary = {}
    
    # zip() pairs corresponding elements from the three lists.
    # For example, (l1[0], l2[0], l3[0]), then (l1[1], l2[1], l3[1]), etc.
    for key1, key2, value in zip(l1, l2, l3):
        # For each triplet, we create the nested structure.
        # The outer dictionary's key is the element from l1.
        # The value is a new dictionary containing the key from l2 and value from l3.
        nested_dictionary[key1] = {key2: value}
        
    return nested_dictionary
```