Kevin, who finally breathed a sigh of relief as his plan was successful and he was saved breathed a sigh of relief.
Just when the crowd started beating the door he pulled out his two artifacts, one which froze time momentarily giving him enough time to use his second artifact Slave's Silence, one which can be used to control their slaves perfectly.
The clan of Kevin had the habit of marking their chosen maids by slave mark to make sure none betray their cause. This mark and control is then handed over to the master they're assigned to.
Though the naive fool Kevin had already freed Levi from slave duties and made her a shadow by his side, he couldn't erase the mark applied on her soul. Atleast not completely.
That's why by using the artifact that could control a bound slave perfectly, he altered a few things in Levi's mind. Replacing roles of his own and Leon's. Leading to the current scene.