. "This obligation would end at such time as a court determined that the agent in question violated the law." . . .