I have a random variable $N(a)$, which depends on a number $a$, having the property that for all $a \in \mathbb{R}$, $$P(N(a) \geq 1) = p $$ The example I have in mind is $N(a)$ is $T-a$ where $T$ the time of first arrival in a Poisson process after $a$, which is why there is no dependence of $P(N(a) \geq 1)$ on $a$. However, let us not assume anything like this - $N(a)$ is just a random variable for each $a$.
Let $Z$ be a continuous random variable independent of all $N(a)$. I would like to assert that $$P(N(Z) \geq 1) = p.$$ My question is how I might justify this.
It is natural to try to justify it by writing
$$P(N(Z) \geq 1) = \int_{-\infty}^{+\infty} P(N(a) \geq 1) f_Z(a) ~ da = p$$ but what I don't know is how the first equality can be justified. If the variables were discrete, this would follow by conditioning, but how does one condition on the event $Z=a$ of probability $0$?