He moved the court to Versailles , impoverished the nobility by forcing them to contribute to the incredible luxury of his palace , and imposed as their sole function the support of the king in time of war .
The nobility had to shoulder the burden of paying for the palace .