Foreign diplomats exempt from new definition of extremism