The HD5850 measures ~240mm in length. The space between the hard drive cage and the slots for PCI-Ex cards on the enclosure measures approx. 310mm says CM
here.
Leaving the adjacent slot(s) free of any hard drive, one can easily fit a 5870 (even a 5970 almost barely

) inside the case.