Through the Immigration and Refugee Protection Act (IRPA), the Canada Border Services Agency (CBSA) has the authority to hold foreign nationals (even if they have not committed a crime) in custody until a decision is made on the appropriate next steps.