Pressure in a system of particles with pairwise interactions can be calculated from the virial theorem using the following equation (see here): $$ P = \frac{2}{3}\langle T\rangle\rho + \frac{\langle I\rangle}{V},\tag{1} $$
where
$$ I = \frac{\sum\limits_{i} \sum\limits_{j>i} \textbf{f}(\textbf{r}_{ij}) \cdot \textbf{r}_{ij} }{3},\tag{2} $$ $T$ is the total kinetic energy of all particles, $\rho$ is the density of particles, $V$ is the volume of the system, and $\langle\cdot\rangle$ indicates averaging over time.
Even though equation (1) is derived for systems bounded in space by external potential, it is frequently used to calculate pressure in systems with periodic boundary conditions without any external walls. This is justifiable in thermodynamic limit, since most of the contribution to the virial $I$ comes from the bulk of the system.
Now, suppose we have a phase separation in a system with periodic boundary conditions, and there is a floating droplet. We know that pressure inside droplets is larger compared to the pressure in the gas due to surface tension. Question. What pressure is the equation (1) going to give us: the pressure of the gas, the pressure inside the droplet, or some combination?