Govt gives less than three hours’ notice of quarantine rule