Responding to a drawn-out trade dispute with the U.S., China has approved a major rewrite of its foreign investment laws, which could appease foreign governments and companies that have accused Beijing of failing to protect their intellectual property and of forcing them to hand over technological secrets.

The new foreign investment law, passed by China’s legislature earlier this month after an expedited review process, addresses these complaints in part by forbidding forced technology transfer and government interference in foreign business practices.