I suppose it depends on how such legislation would define the volume of a tank - the amount of space occupied by a tank or the amount of water it can hold. A non-fish keeper would probably define the size of a tank as the volume of space it occupies.