I do know that some time ago a pilot failed the explosive residue test conducted before a pre-curfew departure in Sydney. The pilot was stood-down leaving insufficient crew to operate the flight. A standby pilot would not have arrived before curfew thus it appeared that the flight would be cancelled and passengers sent to hotels for the night.
As I understand it, common sense prevailed and the flight departed that evening.