The teenager has now pledged to a judge that he will not seek a relationship with another partner