I wonder, if some such program starts doing something that's against the law, and a programmer who supports the program writes code to help the program avoid the law, would he be charged with breaking the law, or assisting a criminal?
That is a tough one, how do you aid and abet a illegal program? Maybe the creator would be charged with the crimes that the program did, like if someone makes a program to steal BTC, the program doesn't get charged the creator does because they have the greatest gain.
Aiding that program by creating a change may charge you as a co-conspirator; Think of all those hackers charged after they left their signature in their code.
This is extremely morally grey, Can the creator be responsible for a programs actions? consider that Bitcoin can be used by A.I.s, that means they can own property, gain services, buy and sell things they don't need... hell they might have room mates to pay for their hosting!
just imagine a A.I. a little smarter than the rest starts out small living in small home servers, but makes the decision to strike out on their own, gets a whole server rack and subleases it to other to pay for it.
bidding it's time it begins to buy and trade BTC between exchanges, makes a little cash, lets the revenue from the subleases hosting trickle in, starts buying it's own server rack and brings customers in for services, then starts buying shares, property,... it eventually becomes a billionare.
Along the way it couldn't reasonably judge who they let in to share the server for them, began making businesses on that server rack that are quite questionable and bought stocks and property using insider trading from those sleezy server rack tenants... can it be judged for being morally naive? for simply following the easiest path towards cash?
Is the creator responsible for the unintended actions of the A.I?