how is a submarine commander committing war crimes?
by the same way of thinking, it would be completely justified for people from many countries to show up at random US service members houses and shoot them in the street , or perhaps attack their embassies, commit suicide bombings...