Whether the effect of Baptism is to open the gates of the heavenly kingdom?

Objections

Objection 1 : It seems that it is not the effect of Baptism, to open the gates of the heavenly kingdom. For what is already opened needs no opening. But the gates of the heavenly kingdom were opened by Christ's Passion: hence it is written (Apoc. 4:1): "After these things I looked and behold (a great) door was opened in heaven." Therefore it is not the effect of Baptism, to open the gates of the heavenly kingdom.
Objection 2 : Further, Baptism has had its effects ever since it was instituted. But some were baptized with Christ's Baptism, before His Passion, according to Jn. 3:22,26: and if they had died then, the gates of the heavenly kingdom would not have been opened to them, since none entered therein before Christ, according to Mic. 2:13: "He went up [Vulg.: 'shall go up'] that shall open the way before them." Therefore it is not the effect of Baptism, to open the gates of the heavenly kingdom.
Objection 3 : Further, the baptized are still subject to death and the other penalties of the present life, as stated above (Article [3]). But entrance to the heavenly kingdom is opened to none that are subject to punishment: as is clear in regard to those who are in purgatory. Therefore it is not the effect of Baptism, to open the gates of the heavenly kingdom.