In Canada the Pilot-in-Command (Captain) of the aircraft is designated as a Peace Officer under the Criminal Code and as such, have the same powers of arrest as a Police Officer. The Pilot-in-Command is authorized to enforce all sections of the Criminal Code and all Acts of Parliament while the aircraft is in flight.[29]