i believe he was simply being a someone who took it upon himself to eliminate the real root of the lack of a permanent peace, even if it meant having to do things others would've detested to make it a reality. Someone who is evil certainly has no honor code, let alone the kind Madara had...