From my experience, it can be a pain. The rails often can't be adjusted length-wise, and if the non-Compaq rack is off just by a little bit, you're lost.
As far as invalidating the warranty, yes if it the server is damaged due to restricted air-flow because you put it in rack with solid doors the warranty would probably be rendered void.
/charles