Wouldn't illegitimate acts legitimatize the attacked not the attacker?

Pearl Harbor didn't exactly give kudos to the Japanese.