premise: Scottish kings came to favor the site, and it was James IV who decided to transform the simple lodgings into a true royal palace.
hypothesis: James IV made the decision to turn the plain living areas into a true royal palace.