Let $\mathbb{F}$ be a finite field and let $q$ be its number of elements. Let $(C,\mathcal{O}_C)$ be a geometrically irreducible smooth projective curve over $\mathbb{F}$ and let $K=\mathbb{F}(C)$ be its function field. Let $\operatorname{Frob_q}$ be the $q$-Frobenius on $K$. For a closed point $P$ on $C$, let $\mathcal{O}_P$ denotes the discrete valuation subring of $K$ of elements that are regular at $P$.
My question is the following: if $S$ is a set of closed point of $C$ and $x\in \mathcal{O}_P+(\operatorname{id}-\operatorname{Frob}_q)(K)$ for all $P\in S$, do we have $x\in \left(\bigcap_{P\in S}\mathcal{O}_P\right)+(\operatorname{id}-\operatorname{Frob}_q)(K)$?