Switching of identities is the main theme of the play. In the film it's accomplished superficially but as we saw the backgrounds of the participants played a big part in determining if it was successful. However, even more than the overall theme, it's the language that updates Marivaux's tendencies.

I don't recall if the play put on by younger children was related to anything else. If it was then I need to see the film again.