That has nothing to with the recent legislation referred to in the article. The principle (which I disagree with BTW) has been part of equality law for decades.