Milos Forman cast Randy Quaid as the King of Spain after seeing his work as Tom Parker in Elvis (2005) by phoning him and saying, "You are a great actor. You must be my King or I must repaint Goya". Randy accepted.