Apple has a 14-day return policy, so you should be fine on that front.
However, I've heard rumors about a 10% restocking fee -- I'm not sure how accurate that is...
I've just contacted the Apple store and they have said they'd do an exchange. I'm not sure how it will work though given that I had an extra 1GB of RAM fitted (by the store) at the time of purchase.