The High Court has heard claims that the health regulator, the Care Quality Commission, "acted irrationally" when it registered England's…