If an application to establish paternity is submitted by the parents at the same time as the application to register the birth of the child, information about the father of the child shall be recorded according to the submitted application, and the surname of the child shall be assigned by agreement of the parents.