If you look at that link, you’ll find that many of the philosophical concepts (“proportionality”, immorality of directly targeting civilians) are codified into law and enforced by the ICC.
Which makes sense, the Geneva conventions were written precisely because laws at the time did not cover wartime actions that were viewed as highly immoral.