but you will have to remove the 3 rear clips on it in addition to the trim around the sunroof (if you have one). Also remove the sun visors, overhead light, etc. You will have to remove the upper rear interior panels (the ones that surround the rear triangle shaped glass). Unfortunately the only way to get these out is to remove all the rear ones first, and then the larger panel below it. Only then can you access the seatbelt bolts so that you can pop these off. There are two clips underneath these interior panels so you have to take it all off before the headliner comes loose.
When installing the headliner back, go through the hatch. Oh, and having the seats lying all the way back helps give you a bit more room to work.