China’s foreign relations law to 'safeguard world peace' takes effect