The trees and the slave seals used by the various empires work on Rock Paper Scissors logic, she backstabbed because she already had orders overriding the orders from the King she stabbed, and like the MC just pointed out, she's set to self destruct to cover the escape of the masterminds controlling her. There's very little difference between her and the Nun from before, just that she wasn't ordered to forget the abuse it seems.