538. Every person who, by encouragement, advice or order, induces another person to commit an offence may be convicted of the offence as if he had committed it himself, as well as of any other offence committed by the other person as a result of the encouragement, advice or orders, if he knew or should have known that such encouragement, advice or orders would have as a probable consequence the commission of the offence.