ISLAMABAD - Prime Minister Shehbaz Sharif said on Saturday that imposition of emergency in Khyber Pakhtunkhwa province became a compulsion to confront security challenges and protect the economy from instability.