「代わりに」は on behalf of という。
On behalf of them, he warned her against breaking promises. 彼らを代表して、彼は彼女に約束を破らないよう警告した。
warn A against B A に B しないよう警告する