2 sentences
Nowadays in China, brothels are not legal—they are illegal—but back in the Tang Dynasty, brothels were not illegal; they were protected by law.
Source: 大鹏说中文-Speak Chinese With Da Peng · Daily Chinese Expression 323 「闭门羹」 Chinese podcast -Speak Chinese with Da Peng #汉语俗语和习惯用语 (3:32)