This title does not:
(1) restrict a charter county or code county from exercising a power granted under § 10–321 of this article; or
(2) authorize:
(i) the removal of a milldam;
(ii) the interference with legal water rights of a mill; or
(iii) the diversion of water in a manner that deprives an owner of land over which water flows of the benefits and water rights to which the owner of the land is legally entitled.