Akbari is an expert in reading people. By actually telling the truth, Brody could be believed. Plus, Akbari may have noticed small problems with Javardi, because he actually is a CIA asset.
I think he intended to kill him, but it was interesting for Brody to feel what it would feel like to betray the CIA.