When you have a gun to your head, you will raise whatever flag the person with the gun wants you to raise.
The Russians have taken Mariupol. At least for now. It has been returned to the DPR.