Water treatment with a reverse osmosis plant