I mean, you have a license to kill, know they are after you and are able to sneak into their bedrooms. Since the crown prince seems smart, just kill the king, second prince, and all nobles supporting both of them and half of the first prince's faction. After you announce yourself to the prince, push him down and give him the choice to stop being foolish or die