If you are refused entry to Canada because of criminal inadmissibility due to a criminal charge or conviction incident in your past, there may still be ways to enter the country. To be eligible for a Temporary Resident Permit (TRP), your need to enter or stay in Canada must outweigh the health or safety risks to Canadian society, as determined by an immigration or a border services officer.
If it has been less than five years since your court sentence was completed and you have a compelling reason to enter Canada, you may be able to obtain a Temporary Resident Permit. This is a document that allows you to enter and remain in Canada despite your status as inadmissible. According to IRCC,
"Your need to enter or stay in Canada must outweigh the health or safety risks to Canadian society, as determined by an immigration or a border services officer. Even if the reason you are inadmissible seems minor, you must demonstrate that your visit is justified."
Temporary Resident Permits are issued for fixed periods of time, and you must leave Canada by the expiry date or get a new one before the original document expires. Obtaining a Temporary Resident Permit requires an application to be submitted. As with all applications, there are fees associated with Temporary Resident Permits.
If you are a citizen of a country that requires an eTA and are refused an eTA, you may be issued a Temporary Resident Permit depending on the nature and circumstances of the inadmissibility and the continuing rationale for travel. The TRP is no longer valid once you leave Canada unless you have a special re-entry Permit.