North Korea warns Japan over penalties