Whether confession opens paradise?

Objections

Objection 1 : It would seem that confession does not open Paradise. For different sacraments have different effects. But it is the effect of Baptism to open Paradise. Therefore it is not the effect of confession.
Objection 2 : Further, it is impossible to enter by a closed door before it be opened. But a dying man can enter heaven before making his confession. Therefore confession does not open Paradise.