Vatel

Vatel (2000)
a film by Roland Joffe

In 1671, with war brewing with Holland, a penniless prince invites Louis XIV to three days of festivities at a chateau in Chantilly. The prince wants a commission as a general, so the extravagances are to impress the king.

IB says: "Interesting view of royal excess."