so when the battle at last was over and pro-robot legislation came forth , setting up conditions under which it was illegal to issue an order that might harm a robot , the law that was passed by the regional legislature , sent back for revisions by the regional court , passed again in a modified way , this time upheld in the regional court , and eventually ratified by the world legislature and upheld after a final appeal to the world court , was a very tepid one indeed .