That is one of the best types of marriage, I think. It is the God-given prerogative of young people to promise away their whole lives before they know any better, and then to live with the consequences.
On the face of things, it's an incredibly stupid arrangement, but it is Very Good.