Big spoilers up ahead. You have been warned.
Early on in the movie, Dylan Rhodes was given the task to track down and arrest the Four Horsemen, a task he begrudgingly accepts. However, at the end of the movie, it was revealed that he himself is the mastermind of the entire scheme. His role in the scheme is to serve as the FBI agent, presumably to reduce the unpredictable variables and to observe the magicians firsthand. My question is, how had he guaranteed that he would be chosen for this assignment? What if he had not been picked? Was he purely relying on sheer luck that when the time comes, he would be the person chosen for the job?
EDIT: Apparently, it is possible to "influence" people's thoughts, but it doesn't explain everything.