Critics say the legislation will 'cause chaos'.