Prenuptial agreements have the ability to override state law when it comes down to issues of alimony, debt distribution and properties in a divorce.
The one thing it cannot do is provide the solution to any issues relating to children who will be born to the marriage.