I honestly find this kinda punishment for schemers hilarious. They're forced to act a certain way until they stop scheming, so the duration is only as long as they let it be. It's just a question of when they can get over themselves.
Alright, I'm going to give a guess at the female lead's mysterious identity here, spoilers if i end up right in the future or giving something away to someone who hasn't started reading it yet.