Suppose we have a dataset where the indepedent variable $x$ is the work experience in years of an employee and $y$ is his salary in dollars. Such a dataset could consist of the following elements
$$(x_i , y_i) = \{(1, 30000), (3, 40000), (5, 50000), (7, 60000), (9, 70000)\}$$
The linear regression model will be $y=\theta_0+\theta_1 x$. We can estimate the parameter vector $\theta=[\theta_0, \theta_1]$.
Now, what I've been taught is that the intercept $\theta_0$ is the expected salary of an employee with $0$ years of experience. This is obvious because we just say $x=0$ in the regression equation and we receive the value.
However, what we are technically doing is that we are estimating a value of $y$ given a value of $x$ that does not belong in our dataset. The value $x=0$ is outside of the range of values that $x$ takes in our known data points.
I know that when we do this, it wont always result in a correct conclusion because we are assuming that the relationship of $x,y$ is still linear outside of this range.
So, is it actually correct/safe to just plug in the value $x=0$ and say that it gives us the expected value of $y$ when $x$ takes the value $0$?