I kinda want a little bit of divergence but I suppose the rapid modernization set up here in addition to aid from France could be the divergence.
What if in 1870 the Shogunate succeeded in their rebellion against the Emperor and booted him from the throne?
Let's have somewhat of an alternate scenario...
Japan invades Korea still, but rather than invading Manchuria next, attacks Vietnam and attempts to annex it.