instead , all the time he was talked to as if he was both very stupid and incapable of understanding anything and on the other hand very crafty for having sneaked himself and his family into the country .