Recent case highlights the dangers of divorcing parties making agreements without legal assistance