Google "skip lagging".
Will you have checked bags? They will be sent PER-HKG-TIA.
The HKG border officials will not be expecting you to cross the border. Remember HKG is China: not a western democracy.
PER-HKG-TIA and HKG-AMS on the same airline? (CX?)
A reasonable chance the software will pick you up as passenger on the same day with impossible flight?