New law to protect forests