Pakistan offers consular access to alleged Indian spy