There are two things responsible for the differences between the real gas and the ideal gas. One is the interaction between molecules (much larger in the case of water), the other is the molecule volume (again, much larger in the case of water). However, their effects go in the opposite directions, and the final result depends on which of these effects dominate.