UC Riverside as a Computer Engineering major or UC Irvine as an undeclared?

I was accepted into both UCR and UCI. However, I was accepted as an undeclared at UCI and a CE major at UCR. I want to go to Irvine but is it worth taking the risk of potentially not getting the classes I need in order to change my major back to CE at Irvine? I like both the campuses but I like Irvine’s Engineering program more so I am a bit torn between the two right now.