no i was playing dumb, i was hoping your response would be "there has to be a law".Should have been clearer . They will detain you if you are breaking the law or do not meet the requirement to enter Canada . Then will be charged and you will see a judge .
And i give you, the Quarantine Act
It's pretty packed but here are some highlights after a few pages;
Detention by quarantine officer
- 28(1) A quarantine officer may detain any traveller who
- (a) has refused to be disinfested or to undergo a health assessment;
- (b) has been required to undergo a medical examination under subsection 22(1);
- (c) has failed to comply with an order made under section 26;
- (d) the quarantine officer has reasonable grounds to believe
- (i) has or might have a communicable disease or is infested with vectors, or has recently been in close proximity to a person who has or might have a communicable disease or is infested with vectors, and
Isolation
(2) The screening officer may, without directives from a quarantine officer, isolate the traveller, individually or within a group, until the traveller is assessed by a quarantine officer.
Cost and location of examination
(3) The examination shall be at the traveller’s expense and shall be conducted in the place where the traveller is detained.
Order to comply with treatment or measure
26 If a quarantine officer, after the medical examination of a traveller, has reasonable grounds to believe that the traveller has or might have a communicable disease or is infested with vectors, or has recently been in close proximity to a person who has or might have a communicable disease or is infested with vectors, the quarantine officer may order the traveller to comply with treatment or any other measure for preventing the introduction and spread of the communicable disease.
I say, good luck to the lawsuits.