So the whole point of the last couple of chapters shenanigan is to show she is qualified for secret mission from the king (she is strong enough to block the commander strike).
While its true she is the king loyal subject, she is not the commander subordinate so nothing stops her from beating up the commander and agree to the assignment.