I would hesitate to attribute to the legislature such an intention: at least, I would hesitate to attribute the intention to produce such a result by an Act in the form which the Lotto Act takes. It is the function of the courts to ascertain and give effect to the intention of the legislature as expressed in its enactments. And, as is well settled, the courts will not be led to find the legislative intention to be other than the enactment indicates by the fact that they regard that which the legislature intends as undesirable or objectionable. But conversely the courts should not, in my opinion, find that the legislature, and the legislators, had the intention to do something for which they will be publicly accountable as undesirable or objectionable unless that intention appears clearly from the enactment. For the legislature, and the legislators, will be held publicly accountable for the enactment and it is wrong to attribute to them, by a process of construction, an intention which they would prefer not to be seen to have had. The thrust of the plaintiff's submission in this regard, and of the learned judge's comments, was, I think, that had the Lotto Act contained a provision stating, in terms, that a prize winner should have no enforceable rights to the prize, the legislation would not have been passed.