“In so far as the Lord Ordinary's own idea of the merits of the points now at issue goes, he thinks that there is a distinction between a person consenting to acts or deeds which are lawful, but from which he is at liberty to withhold his consent, and deeds which are illegal, to which he gives his consent. In the former case, his consent, either directly or indirectly given, by ratification express, or presumed by acts of approbation, will bar him from challenging the deed so ratified; but in the other case, consent to an illegal deed, or even granting it, will not prevent a challenge. Of this nature are pacta turpia, bonds granted for an unlawful consideration, which may be called in question by the granter of them; and of the same sort the Lord Ordinary would consider an unlawful application to the Sovereign, either for the alteration of the set of a burgh, or any other purpose. The Lord Ordinary desires it to be