Ted ties the knot and recruits best friend John as a sperm donor in order to start a family, but in order to qualify to be a parent, Ted will have to prove he's a person in a court of law.