What on earth is the name of the movie about a nobleman who goes to Versailles to get some help for his province only to find that the courtiers only care about witty repartee - he does well at this and so is allowed to stay. The love interest is a girl who is trying to develop a diving apparatus...