If upon the trial of such action it appears that any of the statements made in the affidavit filed by the person desiring to purchase the land were false, or if it appears that the statements made in the affidavit filed by the settler or occupant of such land are true, the approval of location or certificate of purchase, if any has been made or issued, shall be canceled by judgment of the court. But if it appears that the statements contained within the affidavit of the person desiring to purchase the land are true, and that the statements made in the affidavit of the settler or occupant are untrue, the court shall enter its judgment accordingly.
Ca. Pub. Res. Code § 7528