Seoul confirms it fired warning shots at North Korean soldiers who briefly crossed the border.