The EU has reached a political agreement on new toy safety rules: a ban on harmful substances and the introduction of digital passports to enhance control.