If you have a permit to dump wastewater into a river, you are not allowed to dump your wastewater wherever in that river's basin on the assumption that it will eventually flow into the river. You are supposed to use a pipeline for wastewater transfer.