President Cyril Ramaphosa says there are risks that the bill could be set aside by the courts. File photo.