It was the order in council that was part of the pandemic border ban. It didn't prevent them from making refugee claims, but it directed them back, so people who came up to the border and made a refugee claim at an irregular point were told to return to the U.S. and that they would have to come back later to pursue their claim.
On October 21st, 2022. See this statement in context.