After reading a comic where Pokemon was set in a context similar to Digimon Frontier, I noticed that trainer-owned Pokemons, with the right badges and level, act pretty much like advanced robots with the first law removed (though in some versions all 3 laws are in place).