Schamburg officers charged: What's in their future?

Who bears the responsibility of ensuring that undercover police officers who often are required to act like criminals don't actually give into the temptation of breaking the law?