I think the liege lord has a good deal of say, but it kind of depends. For one thing, it’s probably very different in a case of an heiress/widow without male relatives vs. with male relatives vs. a male heir/widower.
I’m guessing that rather than outright commanding, it’s probably more the case that the liege lord has veto power (since it could be very dangerous if a neighboring kingdom starts marrying into your vassals) and can use their influence to strongly suggest that it would be in the vassal’s best interest.