The movie should be understood as Cameron imagining Ferris and Sloane. They are not really there, none of it really happens. The whole day is his fantasy, and his epiphany at the end is the only real event.
Now, what if Cameron isn't real?
If Cameron, too, isn't real, there is no movie: a dream requires a dreamer. The whole movie, i.e. Cameron and his dream is, of course, John Hughes's dream, and then the audience's.
If we shadows have offended,
Think but this, and all is mended—
That you have but slumbered here
While these visions did appear.