Introduction

As a result of the acceleration of industrialization and the combustion of fossil fuels in recent decades, a large number of greenhouse gases represented by CO2 are emitted, resulting in global surface temperatures increasing and more frequent freak weather (Khan et al. 2019; Yan et al. 2021). Currently, the Chinese government is dedicated to carbon emission reduction. The strategic policy of “establishing and improving an economic system for green and low-carbon circular development” has been proposed at the 19th National Congress of the Communist Party of China. In the general debate of the seventy-fifth United Nations General Assembly on September 22, 2020, Chinese President Xi Jinping further claimed that the goal of “carbon peak and carbon neutrality” should be achieved before 2030 and 2060 respectively so as to scale up its Intended Nationally Determined Contributions. Nevertheless, China is proceeding deep into the development of urbanization and industrialization (Jiang and Lin 2012; Zhao et al. 2022), and the total carbon emissions have been on the rise. Consequently, China is confronting great pressure on carbon emission reduction (Zhang and Da 2015). Up to now, there is agreement among scholars that the most effective way to reduce carbon emissions is to facilitate the upgrading of industrial structure and drastic expansion of tertiary industry (Zhang et al. 2018; Li et al. 2019; Zhang et al. 2020a). It is further proposed at the 19th National Congress of the Communist Party of China that modern service industries should be given priority in the tertiary industry. Recently, the service industry has figured prominently in China’s national economy. In 2019, the added value of the service industry increased by 6.9%, accounting for 53.9% of GDP, of which the added value of the producer service industry accounted for 60% of the service industry.Footnote 1 With the increasing proportion of the service industry in China’s economic development, producer services with the trait of energy conservation and emission reduction have become a significant feature in the new era (Zhao et al. 2021a).

As an important part of the modern service industries, producer services are “smoke-free industries,” which are gradually becoming the key force to promote the development of low-carbon economy (Wu et al. 2013). Statistics show that energy consumed by each unit output of the service industry is no more than 33% of the secondary industry and 40% of the primary industry (Tan et al. 2016). At present, the main problem in the traditional manufacturing industry is the neglect of energy conservation and pollution reduction (Ding et al. 2015; Yang et al. 2021b), while producer services can effectively alleviate “the stubborn diseases” of over-consumption and low output in the manufacturing industry, ultimately reducing global environmental pollution (Yang et al. 2021a). Industrial agglomeration can fuel the intensive and large-scale development of agglomeration areas. Therefore, accelerating the development of PSA is not only an important way to alleviate overcapacity and environmental constraints but also an important strategic measure to finally realize the development of green and low-carbon economy (Yang et al. 2020). However, the rapid progress of industrial agglomeration will bring about a “crowding effect” (Xi 2016). Relying too much on the market to regulate the economy may induce the disadvantages of blindness, spontaneity, and lag of such as unscientific agglomeration development structure and disgusting competition among enterprises, resulting in a series of environmental problems. Therefore, the government should adopt the appropriate regulation and effective intervention. On the border issue of government intervention, Chinese scholars Lin Yifu and Tian Guoqiang had a debate on it. They maintain that the positive role of local governments in China’s economic development cannot be denied, but the negative effect of government “cross-border” behavior on economic development cannot be ignored, either (Wang and Ju 2012). In this context, an in-depth study on how PSA affects carbon emissions and how government intervention affects the relationship between them opens up a new path for the low-carbon economic development and environmental sustainability, and also fills in the theoretical gaps on these issues. Pitifully, few studies researched this field.

Accordingly, the possible contributions include the following aspects: ① This paper sorts out and analyzes the transmission mechanism of PSA on CO2 emissions and systematically tests the impact of PSA on CO2 emissions. ② The spatial Durbin model is used for econometric analysis to effectively reflect the typical characteristics of spatial correlation between CO2 emissions and PSA. ③ The urban panel data is selected as the research sample to effectively reduce the error of estimation results caused by large spatial scale and internal differences. In addition, as for CO2 emission data calculation, not only energy-related CO2 emissions but also the impact of vegetation carbon sequestration is taken into account, making the data more accurately reflect the actual situation. ④ From the perspective of government intervention, the dynamic threshold model is used to explore the nonlinear characteristics of how government intervention impacts on CO2 reduction effect of PSA, which enriches and develops the research on the influencing factors and mechanism of CO2 emissions.

The rest of the sections are arranged as follows: The relevant literature is reviewed in “Literature review.” The theoretical analysis and hypotheses are made in “Theoretical analysis and research hypothesis.” The data source and model setting are shown in “Model setting and variable selection.” “Empirical results analysis and discussion” illustrates the empirical results and makes discussions. The conclusions and policy implications are followed in “Conclusions and policy implications.” The whole structure of the research is described in Fig. 1.

Fig. 1
figure 1

Research structure

Literature review

The identification of factors affecting CO2 emissions has always been a research hotspot in academic circles. Up to now, the key influencing factors mainly include economic growth (Govindaraju and Tang 2013; Kasman and Duman 2015; Dong et al. 2018), industrial structure (Tian et al. 2019; Pan et al. 2021), technological innovation (Yu and Du 2019; Wang and Zhu 2020; Chen and Lee 2020; Ikram et al. 2021), financial development (Shahbaz et al. 2013; Zhao and Yang, 2020), urbanization (Martínez-Zarzoso and Maruotti 2011; Wang et al. 2018a), foreign trade (Hao and Liu 2015; Huang et al. 2019; Bakhsh et al. 2021), and industrial agglomeration (Chen et al. 2018; Wu et al. 2021a; Shen & Peng 2021). Among these factors, industrial agglomeration is most relevant to this paper, so the literature review of this paper is focusing on the relationship between industrial agglomeration and environmental pollution. Scholars are divided over the relationship between them. Three views are mainly included: first, some scholars hold that industrial agglomeration aggravates pollution emissions through expanding production scale (Wen and Liao 2019) and increasing energy consumption demand (Shen & Peng 2021). The second view is that the positive externalities brought by industrial agglomeration will promote environmental protection technology, so as to effectively control pollution emissions (Yang and Wang 2022). Guo et al. (2020) believe that industrial agglomeration can improve the environment, but there are regional heterogeneities. Industrial agglomeration enhances the environmental quality better in the east than in the central and western regions. The third view is that impacts of industrial agglomeration on environmental pollution show nonlinear characteristics. Ren-fa YANG (2015) argues that industrial agglomeration exerts an obvious threshold effect on environmental pollution, that is, if the industrial agglomeration level is below the threshold value, pollution will be intensified, and if it is higher than the value, pollution will be reduced.

At present, few pieces of literature are studying the impact of PSA on CO2 emissions. The literature on the emission reduction effect of industrial agglomeration is mostly discussed from the perspective of manufacturing agglomeration. Most scholars believe that manufacturing agglomeration has a dual effect on pollution emission, which may aggravate pollution emission through expanding production scale (Lan et al. 2021) and increasing energy consumption demand (Cheng 2016) or reduce pollution emissions through technology spillover (Ikram et al. 2020; Abid et al. 2022), the specialized division of labor and economies of scale (Fang et al. 2020). Wang et al. (2018b) and Yuan et al. (2020) confirm that a significant inverted U-shaped relationship exists between manufacturing agglomeration and environmental pollution. The producer service industry is characterized by knowledge and technology-intensive, low-polluting, and low-emitting (Shao et al. 2017). Relying on its agglomeration effect, PSA brings knowledge and technology spillover, so as to alter the rough-oriented pattern of economic growth and reduce CO2 emissions. Therefore, PSA has become a major contributor to realizing green and low-carbon circular economy. With the development of the producer service industry and the enhancement of the pulling effect of the service industry on the national economy, research on the CO2 emission reduction effect of PSA is drawing many scholars’ concern at home and abroad in recent years. Some scholars put PSA and CO2 emissions in the same framework for theoretical and empirical research. Zhao et al. (2021b) utilized the balanced panel data of China’s 30 provinces from 2003 to 2017 to test impacts of PSA on CO2 emissions, finding that PSA can effectively mitigate the CO2 emissions, but there is significant regional heterogeneity; Li et al. (2019) explore the impact of PSA on carbon intensity, concluding that the degree of misallocated resources greatly affects CO2 emission reduction effect of PSA, and there exists a significant double-threshold effect.

To sum up, academic circles have systematically studied the impact of industrial agglomeration on environmental pollution, which provides a good research idea for this study. At present, the systematic research on industrial agglomeration and CO2 emission reduction mostly focuses on the manufacturing industry. The research on the relationship between PSA and CO2 emissions is still at the primary stage, and there is a lack of in-depth exploration on the internal mechanism, heterogeneity, and nonlinear characteristics. Accordingly, using the panel data of 268 Chinese cities over the period from 2005 to 2017, this paper systematically discusses the spatial impact of PSA on CO2 emissions, its internal mechanism and non-linear characteristics by constructing spatial Durbin model, mediatory effect model, and dynamic threshold model so as to offer instructive guideline for early achieving carbon peak and carbon neutrality.

Theoretical analysis and research hypothesis

Analysis of the direct impact of PSA on CO 2 emissions

PSA can adjust market scale and openness, industrial structure, and stimulate economic growth by transferring and gathering factors such as population, capital, and resources, so as to improve energy efficiency and reduce CO2 emissions (Binbin 2018; Yang et al. 2020). Compared with industry, producer services have a stronger agglomeration effect and technology-intensive characteristics; PSA can reduce pollution by deepening labor division, extending the industrial value chain and promoting production technology innovation (Francois 1990). Under the circumstances of prominent industrial structural contradictions and increasing pressure to conserve energy and reduce emissions, accelerating PSA has become a breakthrough to optimize the industrial structure and reduce CO2 emissions, so as to effectively address the dilemma of “stabilizing growth and promoting emission reduction” (Chen et al. 2020a). According to MAR externality theory (Marshall and Guillebaud 1961), the agglomeration development of producer services can provide targeted professional services; effectively strengthen the sharing and diffusion of knowledge, information, and technology among enterprises; and improve the utilization efficiency of energy factors of enterprises; PSA can further promote industrial enterprises to use information technology, R&D, and design as intermediate inputs for production, and hence ultimately realize energy conservation and emission reduction in the process of industrial production. According to Jacobs’ externality theory (Jacobs 2016), the diversified agglomeration of producer services increases the diversity and availability of outsourcing services for pollution emission reduction of industrial enterprises. At the same time, PSA helps to apply new environmental protection technologies and processes to the science and technology industry, improve the energy efficiency of enterprises, and achieve pollution emission reduction. Porter’s externality theory holds that externality mainly comes from the competitive and professional division of labor in an open environment (Ambec et al. 2013). An open and shared environment is conducive to the formation of a healthy and benign competition mechanism and effectively curbs the spread of opportunism, and thus promotes the fine division of labor of industrial enterprises and a great demand for productive services (Wang et al. 2018b). In this manner, the quality of economic development is improved, and pollution emissions are effectively reduced. In addition, as a typical knowledge and technology-intensive industry, the producer services industry gathers a large number of excellent talents, producing a “learning effect” (Zhao et al. 2021b). Advanced production technology and innovation information produce a spatial spillover effect with the cross-regional flow of personnel (Chen and Lee 2020). Producer services and the manufacturing industry form a collaborative agglomeration model through the correlation between upstream and downstream industries. This collaborative agglomeration has a significant spatial spillover effect and spatial feedback mechanism. The spatial property of urban geographical location determines that the PSA will inevitably produce a spatial spillover effect, thus affecting the surrounding cities (Shao et al. 2017). Information consulting, finance, scientific research, and other high-end producer services are mostly located in regional central cities with the characteristics of low transaction frequency and wide service range, which has an obvious spillover impact on pollution emissions in surrounding areas.

Therefore, hypothesis 1 is proposed: PSA can inhibit CO2 emissions and has a spatial spillover effect.

Analysis on the impact mechanism of PSA on CO 2 emissions

According to Grossman and Krueger (1995), Brock and Taylor (2005), the main ways to affect environmental pollution include scale effect, structure effect, and innovation effect. Therefore, this paper intends to analyze the mechanism of PSA affecting CO2 emissions from the aspects of reducing energy consumption (scale effect), optimizing industrial structure (structure effect), and improving technological innovation (innovation effect).

  1. 1.

    Scale effect: The spatial agglomeration of producer services can enable infrastructure sharing and intensive utilization of production equipment, which helps manufacturers save production and transaction costs, while the embedding of an effective value chain can reduce resource consumption and CO2 emissions through economies of scale. Specifically, upstream and downstream affiliated enterprises in the same industrial chain gather in the same region, which is conducive to sharing convenient transportation facilities to reduce logistics costs and energy consumption in the transportation process and achieving emission reduction effect. The industrial agglomeration of similar enterprises is easier to form a fully competitive market so as to reduce information asymmetry. Enterprises are forced to reduce prices and save costs, by controlling energy consumption, thus achieving emission reduction effect. Additionally, the centralized discharge and treatment of similar or homogeneous polluting wastes can reduce the environmental treatment cost of enterprises, improve the recycling efficiency of wastes, and minimize the damage to the environment caused by the production.

  2. 2.

    Structure effect: Producer services are an important part of the tertiary industry, and the agglomeration drives the development of the tertiary industry, promotes the optimization and upgrading of industrial structure, and reduces the demand for energy factors and pollutants emissions by improving the efficiency of resource allocation. What is more, PSA and its effective embedding in the manufacturing industry will also help to upgrade the structure of the manufacturing industry and improve production efficiency, achieving pollution reduction. In short, as a modern service industry with low pollution and high added value, PSA can rationally optimize the allocation of resources, effectively improve the industrial structure, and gradually reduce the proportion of the industry, thus reducing CO2 emissions.

  3. 3.

    Innovation effect: Technology spillover can stimulate the innovation potential of enterprises. Enterprises can reduce CO2 emissions by using advanced technology and energy-saving equipment to change the energy consumption structure (Ikram et al. 2022). Specifically, producer services effectively embed advanced production technology, professional theoretical information, and cutting-edge innovative ideas into production and manufacturing links in the form of intermediate investment; promote a large number of scientific and technological R&D and technological competition, so as to improve the product design and scientific management ability, energy utilization efficiency, and pollution control level of the manufacturing industry; and finally achieve the effect of energy conservation and emission reduction. Besides, manufacturing enterprises use advanced energy-saving equipment and clean energy to replace backward and aging production equipment and fossil energy. These are conducive to reducing CO2 emissions.

Based on this, hypothesis 2 is put forward: PSA indirectly inhibits CO2 emissions through reducing energy consumption, optimizing the industrial structure and improving technological innovation.

Analysis on the threshold effect of government intervention

In China’s political system, the promotion of local officials presents a vertical form from top to bottom, so the political promotion of local officials is a direct driving force for the government to intervene in economic development (Wu, et al. 2020a). At the initial stage of the development of producer services, marketization has not been completed, and the decisive role of the market in resource allocation is not prominent. Government intervention has become necessary and important, and its functions encompass four aspects:

First of all, government intervention has improved the market failure caused by externality and information asymmetry at the initial stage of the producer services development (Zhao et al. 2021a). The government conducts rectification through intervention, which reduces market friction and improves the efficiency of resource allocation (Wang et al. 2021). Second, government intervention provides an endogenous impetus for the development of producer services, which is specifically reflected in the government’s promotion and improvement of economic development and quality by optimizing the expenditure structure and increasing investment in science, technology, and education (Xie et al. 2019). Third, government intervention promotes the rational flow of talents and resources in agglomeration areas of producer services, which will trigger benign competition among governments and help to address problems such as unbalanced development among regions (Sun and Huang, 2020). However, under the institutional background of fiscal decentralization, the original “GDP-only theory” will lead to serious distortion of resource allocation and imbalance of industrial structure (Li et al. 2022). Specifically, excessive government intervention will lead to a false agglomeration trend in industrial agglomeration areas (Wei and Wu 2021). The cause is that enterprises enter the agglomeration areas to pursue “policy rent” and maximize their interests. The entry of more inefficient enterprises accelerates false agglomeration, resulting in resource waste and mismatch (Hao et al. 2020). For different types of enterprises, the impact of government intervention on resource mismatch also shows heterogeneity (Zhang et al. 2021). For example, in the state-owned economic sector, government intervention can balance the financing cost of enterprises, so as to alleviate the financial resource mismatch, while in the private economic sector, it is just the opposite. Therefore, the different degrees of government intervention will make PSA have a different impact on resource allocation, thus differently affecting CO2 emissions.

Accordingly, hypothesis 3 is assumed: Government intervention may have a threshold effect, namely, the appropriate intervention will make PSA inhibit CO2 emissions, whereas excessive intervention will aggravate CO2 emissions.

Model setting and variable selection

Model setting

Spatial measurement model setting

STIRPAT modelFootnote 2 is one of the important theoretical frameworks to study the influencing factors of environmental pollution (Wu et al. 2021b). Based on the research paradigm of Elhorst J P, this paper utilizes the general form of STIRPAT model to deeply analyze and discuss the influencing mechanism of PSA on CO2 emissions. Since STIRPAT model can decompose and improve the influencing factors, this paper will further expand it according to EKC hypothesis. In addition, the spatial dependence among variables is not only reflected in the interaction between regions in the current period but also the time inertia due to the endogenous factors of variables (Chen et al 2019). Accordingly, referring to Wang and Zheng (2021), this paper introduces the dynamic spatial Durbin model into the STIRPAT model to verify the spatial spillover effect of PSA on CO2 emissions. The model is constructed as follows:

$$1\mathrm{n }{CO}_{2i,t}={\beta }_{1}1\mathrm{n }{CO}_{2i,t-1}+{\rho }_{1}W 1\mathrm{n }{CO}_{2i,t}+{\beta }_{2}1\mathrm{n }PJ+{\rho }_{2}W 1\mathrm{n }PJ+{\beta }_{3}{X}_{i,t}+{\mu }_{i}+{\lambda }_{t}+{\varepsilon }_{i,t}$$
(1)

where \(i\) is the city; \(t\) is time; \({CO}_{2}\) represents carbon emissions; \(PJ\) indicates the agglomeration level of producer services; \(X\) consists of control variables; \({\beta }_{1}\) represents the regression coefficient of the first lag period, which is the impact of CO2 emissions of the previous period on the current period; \({\rho }_{1}\) is the spatial lag coefficient, which reflects the impact of surrounding regional CO2 emissions; \({\rho }_{2}\) represents the spatial lag coefficient of PSA, which reflects the impact of PSA on CO2 emissions in adjacent areas. \(W\) represents the spatial weight matrix. In this paper, the reciprocal square weight matrix of distance that can comprehensively reflect the spatial correlation between cities is adopted. The specific element setting method is as follows:

$${w}_{ij}=\left\{\begin{array}{c}1/{d}_{ij}^{2},i\ne j\\ 0,i=j\end{array}\right.$$
(2)

Diagonal elements of the spatial weight matrix are 0, and \({d}_{ij}\) is the geographical distance between the two cities.

Dynamic threshold model setting

According to the theoretical research, it is assumed that the impact of PSA on CO2 emissions will show nonlinear characteristics due to different degrees of government intervention. In order to verify this nonlinearity and alleviate the potential endogeneity of the traditional regression model, referring to Wu et al. (2019), this paper constructs the dynamic threshold effect model:

$$1\mathrm{n }{CO}_{2i,t}=\begin{array}{c}{\mu }_{i}+1\mathrm{n}{CO}_{2i,t-1}+\beta 1\mathrm{n }{PJ}_{i,t}+\delta {X}_{it}+{\lambda }_{1} 1\mathrm{n }{PJ}_{i.t}\times I\left(1\mathrm{n }{GOV}_{i,t}\le {\gamma }_{1}\right)\\ +{\gamma }_{2}1\mathrm{n }{PJ}_{i,t}\times I\left({\gamma }_{1}<1\mathrm{n }{GOV}_{i,t}\le {\gamma }_{2}\right)+{\lambda }_{3}1\mathrm{n }{PJ}_{i.t}\times I\left(1\mathrm{n}{GOV}_{i,t}>{\gamma }_{2} \right)+{\varepsilon }_{i,t}\end{array}$$
(3)

where \({\lambda }_{1}\), \({\lambda }_{2}\) and \({\lambda }_{3}\) respectively represent the impact coefficient of PSA on CO2 emissions under the different threshold range of government intervention; \(1\mathrm{n} GOV\) represents a threshold variable, \(\gamma\) is the threshold estimated value, \({\gamma }_{1}\) and \({\gamma }_{2}\)Footnote 3 represents the first threshold value and the second threshold value respectively, \(I\) represents the indicator function, and the definitions of other variables are the same as in model (1).

Variable setting and data source

Explained variable

Carbon emissions (CO2)

The available literature on CO2 emission solely focuses on carbon emissions related to energy, while the impact of vegetation carbon sequestration has been ignored. Shan et al. (2016) use the CO2 emission coefficient provided by IPCC and 11 energy such as coal, coke, gas, and natural gas to calculate CO2 emissions. In reality, vegetation has a significant impact on CO2 adsorption, accounting for the main part of CO2 emissions from energy consumption (Cox et al. 2000). Ignoring this part of carbon emissions will lead to inaccurate data of CO2 emissions.Footnote 4 This paper uses the carbon emission data measured by Chen et al.’s (2020b). The data is currently the most comprehensive urban carbon emissions dataset for cities that have been peer-reviewed and cross-validated in multiple rounds.

Explanatory variable

The level of PSA (PJ)

Referring to Yuan et al. (2020), this paper uses the location entropy model which can eliminate the endogenous impact caused by regional-scale differences to measure the level of PSA. The greater the location entropy, the more mature the development of the industry in this region, the stronger the agglomeration capacity, and the more scale advantages and comparative advantages compared with other regions in China. The calculation method is as follows:

$${PJ}_{i,j}={~}^{{e}_{i,j}/{E}_{j}}\!\left/ \!{~}_{{e}_{i}/E}\right.$$
(4)

where \({e}_{i,j}\) refers to the number of employees in \(i\) city \(j\) industries; \({E}_{j}\) indicates the total number of employees in the national \(j\) industry; \({e}_{i}\) indicates the total number of employees in all industries in the city \(i\); \(E\) indicates the total number of employees in all industries in the country. Based on the research of Ke et al. (2014), the sub-industries of the service industry with intermediate demand rate greater than 60% are defined as producer services, including “transportation, warehousing, post and telecommunications(TWPT),” “leasing and commercial services(LCS),” “wholesale and retail trade,” “finance(WRT),” “information transmission, computer services and software(ITCSS)" "Scientific research, technical services and geological exploration(SRTSGE).”

Threshold variable

Government intervention (GOV)

Referring to Ma et al. (2021), this paper uses the ratio of local fiscal expenditure to GDP to measure the level of government intervention. The greater the ratio, the lower the marketization level and the more government intervention.

Control variables

  1. 1.

    Population density (POP): It can mirror the relationship between population and space in a region. The larger the population density, the more environmental and social problems it will bring, which will also affect CO2 emissions (Martínez-Zarzoso and Maruotti 2011). POP is measured by the ratio of resident population at the end of the year to the total area of urban jurisdictions.

  2. 2.

    Foreign direct investment (FDI): FDI can improve production efficiency and reduce energy consumption through technology correlation and knowledge spillover. On the other hand, it may also transfer high-pollution industries, resulting in pollution transfer (Hao and Liu, 2015). It is reflected by the proportion of the annual actual amount of foreign investment in GDP.

  3. 3.

    Human capital (HUM): The improvement of human capital is conducive to the development of local energy conservation and emission reduction technologies (Chen and Lee 2020). The number of people with bachelor’s degrees or above among the employed population in each city is used as the proxy variable of human capital level.

  4. 4.

    Financial development (FIN): A higher financial development level can transfer funds from inefficient departments to efficient departments, so as to enhance the efficiency of the overall economic system (Li, et al. 2019). It is expressed by the proportion of the year-end deposit and loan balance of financial institutions in GDP.

Data sources and descriptive statistics of variables

Given the availability of data, this paper samples 268 Chinese cities from 2005 to 2017. The original data of CO2 emissions come from county carbon emission data published by CEADs. The original data of other variables come from the China Urban Statistical Yearbook, China Environmental Yearbook, the official website of the National Bureau of Statistics, the official website of provincial and municipal statistical bureaus, and the EPS database. Some missing data are supplemented by interpolation. The descriptive statistics of variables are shown in Table 1.

Table 1 Variable description statistics

Empirical results analysis and discussion

Based on the externality of PSA, a spatial econometric model is employed to investigate the impact of PSA on CO2 emissions and the spatial spillover effect.

Analysis of spatial effect results

Spatial autocorrelation analysis

The spatial correlation of variables should be tested first. Moran’s I is used to examine the spatial correlation of carbon emissions. The results in Table 2 reveal that the Moran index of CO2 emissions fluctuated between 0.043 and 0.0447 from 2005 to 2017, indicating that Chia’s CO2 emissions show a significant spatial positive correlation, further verifying that it is appropriate to use the spatial measurement model for empirical test. In order to further present the spatial agglomeration characteristics of CO2 emission levels, the local Moran scatter diagrams in 2005 and 2017 are presented in Fig. 2. It can be seen that the scatter points are mainly distributed in the first quadrant (high-high agglomeration) and the third quadrant (low-low agglomeration), and as time goes on, the concentration trend of CO2 emissions mainly moves to the first quadrant (high-high agglomeration) and the second quadrant (low–high agglomeration). Overall, there is a significant spatial correlation between CO2 emission levels in local cities.

Table 2 Moran index of CO2 emissions from 2005 to 2017
Fig. 2
figure 2

Scatter diagram of Moran’s I index of CO2 emissions in China

Selection and test of spatial metrology model

Considering the spatial correlation of CO2 emissions, this paper preliminarily sets the model as the bidirectional fixed spatial Durbin model (SDM) and carries out a correlation test. According to the test results in Table 3, the bidirectional fixed spatial Durbin model (SDM) is appropriate.

Table 3 Test results of spatial econometric model selection

Analysis of benchmark regression

In order to eliminate the endogeneity in spatial regression, the estimation result of the system generalized estimation method (SYS-GMM) is introduced (Wu et al 2020b). In addition, the estimation results of SAR and SEM are also listed for checking the robustness. The estimations in Table 4 show that the magnitude, direction, and significance of the estimated coefficients of the core variables in all models are consistent, indicating that the estimations are scientific and robust. The following main analyzes the spatiotemporal fixed effect results of the dynamic spatial Durbin model. From the perspective of the time dimension, the regression coefficient of CO2 emissions in the first lag phase (\({CO}_{2t-1}\)) is positive at the 1% significance level. The direct effect and spatial spillover of PSA on CO2 emissions are significantly negative, indicating that PSA has an obvious inhibitory effect on CO2 emissions in the local and its adjacent areas. In terms of control variables, population density is positively significant. The reason is that too many people will consume more energy, leading to an increase in CO2 emissions. The coefficient of FDI is significantly negative, implying that FDI, as a strategic means of the market for technology in China, significantly improves the production efficiency of the manufacturing industry through the technology spillover effect (Dong et al. 2019), which is conducive to CO2 emission reduction. The coefficient of human capital is significantly negative, mainly because the improvement of human capital level can make the spillover effect of technology and knowledge give full play, bring advanced technology and management experiences to enterprises, improve production efficiency, and reduce CO2 emissions (Abel and Deitz 2011). The coefficient of financial development level (FIN) is significantly negative, indicating that the development of the financial industry can optimize the allocation of financial resources, provide financial support for technological innovation of industries and enterprises, and help to promote the progress of environmental protection technology (Wang and Tan 2021), so as to reduce CO2 emissions.

Table 4 Benchmark regression estimation results

Heterogeneity analysis

Considering the differences in regions, time nodes, and sub-industries, this paper further explores the differential impact of PSA on CO2 emissions.

① Regional heterogeneity: 268 cities are divided into two sample groups for regression: the east (95) and the central and western (173). Columns (1) and (2) in Table 5 show that impacts of PSA on CO2 emissions vary in the eastern and central and western regions. PSA significantly inhibited CO2 emissions in the eastern region whereas significantly promoted the central and western regions. ② Temporal heterogeneity: The State Council issued the Guiding Opinions on Accelerating the Development of Producer Services and Promoting the Adjustment and Upgrading of Industrial Structure in 2014 (hereinafter referred to as Opinion). In order to further explore whether the impacts of PSA on CO2 emissions are divergent before and after the implementation of the policy, based on the issuing time of the Opinion, the samples are divided into two stages: 2005–2013 and 2014–2018. The results in columns (3) and (4) in Table 5 show that the impact of PSA on CO2 emissions has changed from being insignificant in the previous stage to significantly inhibit. ③ Industry heterogeneity: Table 6 reveals that the agglomeration of sub-industries of producer services has different impacts on CO2 emissions. TWPT, LCS, and WRT are at the low end of the value chain, and their agglomeration intensifies the CO2 emissions of local and surrounding cities; ITCSS, FIN, and SRTSGE have the advantages of technology driving and knowledge relevance. Their agglomeration and development will not only reduce local CO2 emissions but also contribute to the CO2 emission reduction of surrounding areas.

Table 5 Estimation results of regional and temporal heterogeneity
Table 6 Estimation results of industry heterogeneity

Robustness test

  1. 1.

    Replace the explanatory variable

Referring to the research of Liu et al. (2020), this paper uses employment density (ED) as an alternative index to reflect the agglomeration degree of producer services. ED measures the spatial agglomeration degree of an industry by calculating the number of employees per unit area of industry. The greater the density, the higher the regional concentration of the industry. The calculation formula is as follows:

$${ED}_{i,t}={~}^{{x}_{i,t}}\!\left/ \!{~}_{{area}_{i}}\right.$$
(5)

where \(i\) and \(t\) represent the city and year respectively, \(ED\) refers to the employment density of an industry, \(x\) refers to the number of employees in an industry, \(area\) refers to the land area of the administrative region of the city.

  1. 2.

    Replace the matrices

In the econometric model, the weight matrix is exogenous. This paper uses the adjacency weight matrix and economic distance weight matrix to regress the spatial Durbin model again to confirm the robustness of the results.

  1. 1.

    Adjacency weight matrix (\({W}^{c}\)). If two cities are geographically adjacent, \({W}_{ij}^{c}=1,\left(i=j\right)\); otherwise, \({W}_{ij}^{c}=1,\left(i=j\right)\)

  2. 2.

    Economic distance weight matrix (\({W}^{e}\)). The weight setting adopts the reciprocal of the absolute value of the economic development level gap between the two cities \({W}_{ij}^{e}=1/\left|{\overline{e} }_{i}-{\overline{e} }_{j}\right|,\left(i\ne j\right),{W}_{ij}^{e}=0,\left(i=j\right)\) where \({\overline{e} }_{i}\) represents the regional average GDP corrected by the GDP deflator.

It can be seen in Table 7 that either replacing the explanatory variable or the matrices, the symbols, coefficients, and significance of the core variables are consistent with the previous estimations in Table 4, which further proves that the setting of the model and the regression results are reliable and robust.

Table 7 Estimation results of the robustness test

Transmission mechanism test

According to the above regression results, PSA has an inhibitory effect on urban CO2 emissions. So how does PSA curb CO2 emissions? This paper will identify and test the mechanism from three channels: scale effect, structure effect, and technology effect. Among them, scale effect is measured by per capita GDP. Structure effect is measured by the proportion of tertiary industry in the secondary industry. Technical effect is expressed in the number of patent applications authorized. Referring to Baron and Kenny (1986), three regression equations are constructed for mediating effect test.

$$1\mathrm{n }{CO}_{2it}={\alpha }_{0}+{\alpha }_{1}1\mathrm{n }PJ+{\alpha }_{2}{X}_{it}+{\mu }_{it}$$
(6)
$${M}_{it}={\beta }_{0}+{\beta }_{1}1\mathrm{n }PJ+{\beta }_{2}{X}_{it}+{\mu }_{it}$$
(7)
$$1\mathrm{n }{CO}_{2it}={\theta }_{0}+{\theta }_{1}1\mathrm{n }PJ+{\theta }_{2}{\mu }_{it}+{\theta }_{3}{X}_{it}+{\mu }_{it}$$
(8)

where \(X\) represents a set of control variables; \(M\) are possible intermediary variables, including per capita (RGDP), industrial structure (IND), and technological innovation (INNOV).

Columns (1)–(3) in Table 8 show the impacts of PSA on CO2 emissions when economies of scale are taken as the intermediary variable. Column (1) shows that the total effect of PSA on CO2 emissions is − 5.765, which is significant at the level of 1%. Column (2) shows the regression of PSA to urban economies of scale. The coefficient of economies of scale is significantly positive at the level of 1%, indicating that PSA significantly promotes urban economies of scale. Column (3) shows that the CO2 emission level is affected by economies of scale and PSA. All coefficients are significantly negative at the level of 1%, and the absolute value of the coefficient \({\theta }_{1}\) (− 5.5026) of PSA is less than the absolute value of \({\alpha }_{1}\) (− 5.765), indicating that PSA can indirectly inhibit the CO2 emission level by promoting urban economies of scale; Sobel test and bootstrap test are significant at the level of 5%, which also verifies that the intermediary effect exists significantly, and the proportion of intermediary effect in the total effect is 16.54%. Similar analyses are made when industrial structure and technological innovation are intermediary variables. The results show that the intermediary effect of industrial structure accounts for 13.47% of the total effect, and that of technological innovation accounts for 44.52% of the total effect. The hypothesis H2 is verified.

Table 8 Test results of the transmission mechanism

Threshold effect analysis

According to the previous theoretical analysis, the impact of PSA on CO2 emissions may have nonlinear characteristics due to different degrees of government intervention. Therefore, the dynamic threshold effect with government intervention as the threshold is analyzed.

Validity test of the threshold value

The first step is to estimate the dynamic threshold panel model for testing its effectiveness through threshold value. The estimation results are as follows:

As shown in Table 9, single and double thresholds are significant at the 1% level, but the triple threshold failed the test. The results indicate that government intervention has a double threshold effect. Table 10 presents the threshold estimations and confidence intervals of the double threshold model.

Table 9 Threshold estimation and test results
Table 10 Threshold estimations and confidence intervals

Estimation results of double threshold panel model

As shown in Table 11, PSA has a divergent impact on CO2 emissions under different degrees of government intervention: when the level of government intervention is below the threshold value of 0.1719, the coefficient of PSA is − 0.4934 and significant at 1% level, indicating that PSA can significantly inhibit CO2 emissions. When the government intervention level is beyond the threshold value of 0.1719, the coefficient of PSA is 0.1898 and significant at 1% level, indicating that PSA significantly promotes CO2 emissions, but the coefficient is smaller, and the promotion effect is weaker. When the level of government intervention reaches 0.8210, the impact of PSA on CO2 emissions is significantly positive with a coefficient of 0.5816, which is as 3.06 times as that of the previous threshold, indicating that excessive government intervention will greatly aggravate CO2 emissions.

Table 11 Threshold effect estimation results

Discussion on the empirical results

Discussion on the benchmark regression

The benchmark regression in Table 4 shows that China’s CO2 emissions have significant “time inertia,” that is, if the CO2 emissions in the current period are at a high level, the CO2 emissions level in the next phase may go on increasing, showing the “snowball effect.” The reason may be that the adjustment of some economic policies, such as the optimization of industrial structure, population agglomeration, and technological progress has a time lag (Li et al. 2017), resulting in the lag of the change in CO2 emissions. PSA has an obvious inhibitory effect on CO2 emissions in the local and its adjacent areas. The reason is that PSA makes the internal division of labor tend to be more reasonable and the production more efficient, which improves the utilization efficiency of energy and promotes the manufacturing industry to accelerate the R&D of clean technologies and extend the industrial chain (Zhao et al. 2021a). In addition, it can also provide diversified and complementary technical services for the manufacturing industry of the city and adjacent cities and contribute to the technological innovation of the manufacturing industry, thus significantly inhibiting CO2 emissions in the local and adjacent cities (Liu et al. 2018).

Discussion on the heterogeneous influence

Table 5 shows that impacts of PSA on CO2 emissions vary in the eastern and central and western regions. Most cities in the eastern region have entered the period of urbanization, the industrial chain has extended to the high-end producer service industry with innovative elements such as technology, information, and knowledge, the spillover of technology and knowledge has been brought into play, and its agglomeration has significantly inhibited CO2 emissions (Lan et al. 2021). In contrast, most cities in the central and western regions are in the middle and late stages of industrialization. Producer services are mainly at the middle and low end of the value chain with low technology content. In order to promote their development, a large amount of energy is invested, which will aggravate CO2 emissions (Huang et al. 2019).

The results in columns (3) and (4) in Table 5 show that the impact of PSA on CO2 emissions has changed from being insignificant in the previous stage to significantly inhibit. The reason is that the Opinions have made a clear positioning for producer services and provided a policy basis for the development of producer services, which clarifies the development orientation and leads them to develop green and environmental protection industries (Lin and Chen 2021). Therefore, after the promulgation of the Opinions, PSA is conducive to CO2 emission reduction.

Table 6 shows that the agglomeration of sub-industries of producer services has different impacts on CO2 emissions. “WRT,” “TWPT,” and “LCS” are at the low end of the value chain, and their agglomeration and development will bring about some problems such as urban congestion, repeated construction of roads, tracks, and other infrastructure, which will aggravate the CO2 emissions of local and surrounding cities (Lin and Chen 2021). On the contrary, as for the high-end producer services at the top of the industrial chain such as “ITCSS,” “FIN,” and “SRTGE,” which have the advantages of technology driving and knowledge relevance, their agglomeration and development can greatly promote technology diffusion and innovation along with productivity in the whole region (Iammarino et al. 2019). Therefore, it will not only reduce local CO2 emissions but also have a learning and demonstrating effect on the surrounding areas, bringing about a positive technology spillover effect, which will contribute to the CO2 emission reduction in the surrounding areas.

Discussion on the results of transmission mechanism

The transmission mechanism test shows that PSA can indirectly inhibit CO2 emissions through economies of scale, industrial structure upgrading, and technological innovation. Comparing the three intermediary effects, the technological innovation effect is leading first, followed by economies of scale and industrial structure. This implies that PSA, especially PSA at the high-end value chain, stimulates the innovation potential of enterprises through technology spillover. Enterprises are more inclined to use advanced technology and energy-saving equipment to change the energy consumption structure, and thus reduce CO2 emissions (Abid et al. 2021). Besides, the inhibition of scale effect and structure effect is limited. The reason is that currently, China’s economy is experiencing rapid development; the secondary industry is still in an important position, and the proportion in the industrial structure may be relatively higher. Only the “green” upgrading of the industrial structure can effectively curb CO2 emissions (Tian et al. 2019).

Discussion on threshold effect

The threshold effect shows that PSA has an obvious double-threshold effect on China’s CO2 emissions under different levels of government intervention. The resource allocation effect of PSA is affected by government intervention. For example, in terms of talent introduction and investment attraction, the government can provide a series of subsidies and preferential policies, which will have a positive impact on the factor market and resource allocation. Therefore, in the process of industrial agglomeration affecting CO2 emissions, the market usually plays a regulatory role, but when marketization has not been completed, the market fails to play the decisive role in resource allocation (Zhang et al. 2020b). Under the background of optimization and upgrading of industrial structure, China’s economic development and transformation are currently at a crucial stage. The degree of marketization varies greatly in different regions. Imperfect marketization mechanism usually leads to problems such as weak consciousness of property rights protection, closed institutional environment, and even corruption. Therefore, when there is an excessive agglomeration of producer services, the government should timely guide by taking macro-intervention to adjust the industrial agglomeration to the process of coordinated development with resources and environment. As a result, the agglomeration effect may be affected by government intervention. Moderate government intervention can reduce energy consumption and achieve the effect of CO2 emission reduction by optimizing resource allocation. At the same time, the government is the “night watchman” for industrial development and environmental quality improvement, which affects industrial agglomeration and diffusion. PSA reduces CO2 emissions by promoting the flow of production factors to low-cost and resource-saving sectors, selecting the best location for development, realizing the optimal allocation of production factors, and changing resource consumption intensity and energy conversion. However, excessive government intervention will lead to distortion in factor markets and subsidies (Lin and Chen 2018). In addition, local governments stimulate the economy by using various policy means to promote industries that do not have comparative advantages, thus distorting factor prices and causing efficiency losses. In short, moderate government intervention is not only conducive to reducing the risk cost of technological innovation but also to alleviating market failure. Excessive government intervention may cause the misallocation of the resources and not be conducive to the operation of market economic mechanisms, leading to the increase of CO2 emissions (Wang and Ju 2012).

Conclusions and policy implications

Based on the nightlight data to calculate the CO2 emissions of 268 cities in China from 2005 to 2017, this study deeply explores the impact and transmission mechanism of PSA on CO2 emissions by constructing dynamic spatial Durbin model and intermediary effect model. Furthermore, the dynamic threshold model is used to analyze the nonlinear characteristics between PSA and CO2 emissions under different degrees of government intervention. The results show that: (1) overall, China’s CO2 emissions are path-dependent in the time dimension, showing a “snowball effect.” PSA significantly inhibits CO2 emissions in local city and the adjacent areas through the spatial spillover effect. (2) Heterogeneity analysis shows that there are significant differences in the impact of PSA on China’s CO2 emissions in different regions, time nodes, and sub-divided industries. PSA significantly inhibits CO2 emissions in the eastern region, whereas considerably promotes CO2 emissions in the central and western regions. In the two stages before and after that issued by the State Council in 2014, the impact of PSA on CO2 emissions changes from being insignificant to significant inhibition. Besides, there are differences in the impact of sub-industry agglomeration of producer services on CO2 emissions. The agglomerations of the industries at the low end of the value chain intensify the CO2 emissions, whereas those at the high end of the value chain reduce CO2 emissions. (3) The transmission mechanism test shows that PSA can indirectly inhibit CO2 emissions through economies of scale, industrial structure upgrading, and technological innovation, among which technological innovation effect is leading first, followed by economies of scale and industrial structure. (4) The threshold effect shows that PSA has an obvious double-threshold effect on China’s CO2 emissions under the different levels of government intervention. When the level of government intervention is low, PSA inhibits CO2 emissions; with the increase of the level of government intervention, the impact of PSA on CO2 emissions changes from inhibition to promotion.

Accordingly, this paper put forward the policy implications:

  1. 1.

    The local governments should increase support for producer services. On the one hand, they can promote the networked and intensive development of producer services through financial support, planning and layout, and government guidance. On the other hand, they should accelerate regional integration, encourage governments at all levels to strengthen exchanges and cooperation, break the institutional barriers to factor flow, guide the rational and free flow of innovation factors, and improve the allocation efficiency of innovation factors, giving full play to the promotion effect of PSA on CO2 emission reduction in a larger space.

  2. 2.

    The local government should dynamically adjust industrial policies and take differential emission reduction measures in regions. The eastern region should make full use of the advantage of capital and talents, improve the efficiency of scientific and technological innovation, and create a diverse productive service function. The central and western regions should build a communication bridge to learn advanced technologies and ideas, break the restrictions on the development of local protectionism and producer services, and accelerate the spillover of technological innovation and the diffusion of knowledge. Particularly, the western region should give full play to its comparative advantages in policies, resources, and labor force and actively participate in technical exchanges and cooperation with the eastern and central regions. In addition, in adjusting the structure and mode, all regions should further promote the effective embedding of producer services in the manufacturing value chain and improve the development scale and speed of producer services, especially high-end producer services.

  3. 3.

    Local governments should take a moderate intervention on PSA development. On one hand, they should provide policy guarantees and financial supports for the all-around development of PAS, such as providing preferential tax policies, improving public service facilities, strengthening the training, and introducing high-end talents. On the other hand, local governments should avoid excessive intervention. They should adhere to promoting market-oriented reform. In formulating industrial development policies, they should jointly deploy inter-industry cooperation and market-oriented reform, follow the law of industrial development, and take the regional resource endowment, urban positioning and comparative advantage as the guidance, and thus decreasing resource misallocation and CO2 emissions.

Although this study has systematically examined the impact of PSA on CO2 emissions and the transmission mechanism, there are some limitations. This paper only takes the government intervention as the threshold variable to investigate the nonlinear characteristics between PSA and CO2 emissions. There may be more factors affecting the nonlinear relationship, such as marketization, urbanization, and so on, which deserves to be further explored in future research.