Tehran to use diplomacy and military power to defend rights