I don't think we should grant a robotic entity learning skills. If such entity can learn good things, it is also probable able to learn bad things. In short, it can take a "bad" decision.
Apart from that, and correctly appointed by Aquaplant, we are educated and obliged to obey Law or severe punishment would be inflicted on us (if Law Enforcement discovers such,

). Of course we can break the Law but we are conscious of the consequences. The same cannot be applied to robotic entities, at least, not now.