Regional peace and security can only be defended by standing with law and legitimacy, not with putschists, says ministry