```python
def replace_list(list1, list2):
    if not list1:
        return list1
    list1[-1:] = [list2]
    return list1
```