The message of the last samurai is that the emperor betrayed sonnō jōi.
But I mean, yeah, the movie is about how the traditional Japanese order of society is good actually and western influence is corrupting it. Which is a surprisingly often employed motif by western filmmakers making fiction about Japan.
Like the only way western filmmakers can imagine appealing to a japanese audience is making movies about how ending Sakoku was a mistake.