I guess it may have been connected to the size of the operations in the originating airport.
While the domestic terminal is indeed not 24 hour operation, as soon as the inbound plane arrives at Haneda the luggage would be moved to the international terminal, which is a 24 hour operating terminal, so it should have been possible.