The laws have to be implemented into the robot, but they can then be broken, as seen in the movie I, Robot. After developing sentient AI, the robot, now much smarter than a person, goes against this set of laws in the name of making humanity safer.