Exactly. If you go to the books...forget the movie...and place it into the context of the times...its pretty obvious what Baum was doing.
I read the book a couple of weeks ago with my 5 year old son.
I thought it was very funny that the wizard made everyone wear emerald colored glasses when in the Emerald City.
There is much political and social commentary.