Immigration pays no attention as to the time of flight on which you arrived. It is easy to go to the Transit Hotel, sleep, and then go out thru immigration. I recommend that you book the Transit Hotel in advance as - at least pre SARS - it often booked full.