Supermarkets used to competing on price are now in a dispute over an expansion loophole.