...
The illegal annexation <...>
What is legal annexation?
...
Somehow I should not be surprised that you ask, yet I am.
Legal annexation could potentially be if, after a long period of peace, a referendum with all guarantees, time to put forward arguments against and in favour and abundant international observers is held among the inhabitants of a region decide that they want to join a different state.
It is much better understood if one thinks of a referendum of independence of which there are a few cases.