Yet, he still allowed them to invade and cause damage. The correct way would've been is to prepare them at the border, and their territories, and the moment they decide to cross it with the army, blow everything up. Both their full forces as well as everyone in their territories.