Nope they are following the law set out in our international agreements and passed into our domestic law in the IRPA.

See s.133 of the IRPA that exempts refugees from penalties relating to illegal entry into Canada including, fraud, false documents. etc.  that passes Article 31 of the 1951 Convention on Refugees into our domestic law.