Prime Minister Junichiro Koizumi must be counting his lucky stars .