The answer is: enforce the agreement, as copies of the text messages are sufficient writings.
For an agreement to be enforceable by law, there are several things that need to exist:
- Enforceable agreement (the promise to take care of the daughter)
- An exchange in value (Juli promise to marry him in exchange of him taking care of the daughter)
- Competent parties (both the parties must be psychologically sound)
- Proven consent (could be in the form of writing such as text message or recording)
The agreement between max and Juli fulfill all of those criteria. This is why the court would most likely enforce the agreement.