I am interested in pricing a stock under $\mathbb{Q}$ when I assume that
$$dS(t) = \mu(S(t))dt + \sigma(S(t))dW(t)$$
where $W(t)$ is a Wiener process under $\mathbb{P}$ and
$$dr(t) = a(b-r(t))dt + \sigma(r(t))dZ(t)$$
where $Z(t)$ is a Wiener process under $\mathbb{P}$. So I have real-world observations of interest rates and stock prices and want to use them to price the stock under $\mathbb{Q}$. I found in one of the papers that the differential equation for stock price will look like:
$$dS(t) = r(t)dt + \sigma(S(t))dB(t)$$
and
$$dr(t) = a(b-r(t))dt + \sigma(r(t))dZ(t),$$
where $B(t)$ is a Wiener process under $\mathbb{Q}$. But I don't understand, why the Wiener process for the Interest rate is the same as under $\mathbb{P}$. Does it mean that if I want to price the stock under $\mathbb{Q}$ is doesn't matter if my interest rates are priced under $\mathbb{Q}$ or not? Does it mean that if I price my stock under $\mathbb{Q}$ with real-world interest rates it and it is martingale, it is risk-neutral? Could you please help me?
Thanks!