Seems like the king knows that his daughter is much more competent but he still believes gender matters more than actual ability.
Well, I guess trying to realistically change a society, for better or worse, tends to be met with opposition no matter which world you live in, so the king had at least the competence to acknowledge her ability.