The courts have exercised a supervisory jurisdiction over the lawfulness of acts of the Government for centuries. As long ago as 1611, the court held that “the King [who was then the government] hath no prerogative but that which the law of the land allows him”.(source: https://www.supremecourt.uk/cases/docs/uksc-2019-0192-summary.pdf )