Let $C$ be an elliptic curve over $k=\mathbb{C}$ and $\mathcal{L}$ a line bundle of degree $d$. It induces naturally a $\mathbb{A}^1$-fibration $L \to C$ where $L=\underline{\operatorname{Spec}} (\operatorname{Sym}^{\bullet}(\mathcal{L}))$.
We can naturally embed $C$ as zero section $C_0\subset L$ corresonding to canonical surjection $\operatorname{Sym}^{\bullet}(\mathcal{L}) \to \mathcal{O}_C$ sending all positive degree elements of the symmetric algebra to zero.
Q: How to see that the self-intersection number $C_0^2=\text{deg}_L \mathcal{O}(C_0) \vert _{C_0}$ equals $d$? Primary I was interested in 'pure algebraic' proof, but if using analytic methods allow simplifications, I'm eager to see it also, so let me formulate this question more precisely as an "algebraic-vs-analytic-proof comparison" of the above claim.
Source: Example 2.5 in this paper by P. Wagreich on page 425.
# Exit/Remark on objections on compactness issues in the comment: As Damian Rössler noticed it is usual ( ...or at least in "classical" setting) to define intersection numbers in compact/ proper setting, therefore I'm not sure if the "line bundle" $L$ I introduced above as $\underline{\operatorname{Spec}} (\operatorname{Sym}^{\bullet}(\mathcal{L}))$ ( which is obviouly not compact/proper) is that one which Wagreich considered to define the self-intersection number $C_0^2$ or if he tacitly considered instead the "projectivised" version $\mathbb{P}(\mathcal{L} \oplus \mathcal{O}_C)$ instead as $L$...