New York (CNN Business) The Chinese government is investigating FedEx after Huawei said the delivery company diverted to the United States two packages intended for the company's offices in China.

Already on edge about Huawei and relations with the United States , Chinese government authorities issued a strong statement: FedEx's action has "seriously harmed the legitimate rights and interests of its client, and violated Chinese laws and regulations on the express delivery sector."

The Chinese authorities said they would look into the matter.

"We welcome foreign companies' lawful operations in China," said Wang Shouwen, China's vice minister of commerce and deputy trade negotiator at a press conference Sunday morning. "But if they violate Chinese laws, we need to investigate them in accordance with Chinese laws."

FedEx FDX The packages, whose contents are unknown, were supposed to be delivered from Japan to China. But they ended up in the United States.said they were misrouted in error, and the company has apologized.

Read More