This agreement has been in effect since 2004. There were irregular border crossings before Donald Trump was elected, but they have increased considerably since he took office. This shows how counterproductive the agreement is.
There is a crisis because the government south of the border has an ideology that is clearly opposed to refugees, proving how much intolerant regimes can increase the flow of asylum seekers.
What can the agreement be replaced with? I would actually recommend that we simply get rid of it because we already have a system that combines the Immigration and Refugee Board of Canada and legal aid. This system is already able to deal with the situation.