Forgiveness and Restoration

Based on Paul's list of the Resurrection appearances of Jesus, it is very likely that Jesus and Peter were reconciled during a private post-Resurrection meeting. But if that is the case, why did Jesus put Peter through the dramatic scene in front of the other disciples in John 21?