Rinny seems deceitful because she initially promises the protagonist that she will help with escape from prison, and then it turns out that she plans to leave her friend in this cell forever. That is, she behaves almost like Edith in the hidden extended ending. At the same time, it seems like an act of cruelty. And she does this to a person who previously saved her twice.
This could be explained by "brainwashing", but the queen denies it. In addition, after returning from prison, when Rinny seems like her old self, she still says that she does not regret her attempt to leave her friend in prison forever.
As for the queen, she seems more frivolous and "decorative" than cruel. She does practically nothing in the real world.
But we don't need to take all this so seriously. These are just pieces of code, not real people.