Too little knowledge about Heinrich.But - war woud happen no matter what,becouse ALL mayor players wonted it.Changing monarch change nothing - german elites wanted war,and Kaiser could not deny it.
You could change french president or Russia tsar,and both countries would still want war.