Three years of marriage opens the declaration. After six years, the public prosecutor can no longer object that you lack real ties to Portugal. So the two thresholds do different jobs, and both matter.