A legal threat from Lidl could scupper construction of a new Aldi store - even though the plans have already been green-lit.