1...0-0?! 2.Rae1 is less appropriate, as Black has a problem with the h4-pawn
With the kingside safely blocked the black king is in no danger on g8, whereas the queenside may now be used for an attack.
Preparing a king march to the opposite flank to neutralize White's coming attack.