Yeah. That’ll work.

About as well as the ban on biological and chemical weapons, the nuclear non-proliferation treaties, land-mines, etc. A weapon is a weapon and it will be exploited and used, every single time. Personally I have more concern about nano-bot swarms than robots.