Iran has agreed to allow the inspections as part of a deal to resolve questions about its nuclear activities .