According to OW rules, the connection has to be on the same day, or before 6am on the next day to qualify for F lounge access.
In any case, here is a
thread about being stuck airside after doing what you are contemplating. Going through transit to airside and then exiting is anti-pattern in HKG and the general recommendation is to avoid it if possible.