Why did Russia hold so-called ‘elections’ in occupied Ukraine?

The Kremlin held polls for secret candidates in the DNR and LNR. Ukraine says taking part was a crime