Well, my suspicions of palace fuckery are pretty much confirmed.
The king wants a proper heir to actually rule right and he sees Olivia as the only one who can be a proper queen to this country.
I don't think his personal feelings are involved either way. If bitchy whatshername can complete queens education and be like Olivia, good enough. If Cyrus marries Olivia, probably the best option right now. If Alan snaps out of his bullshit and gets back with Olivia, then that works too.
I won't say he's a good guy but seeing that he seems to put the welfare and future of his kingdom above everything else (without being stereotypical drama story evil) makes him an interesting character to me.