No one has written anything remotely like that here. CBSA unlikely to devote scarce physical resources to detaining an individual without some special circumstances like public safety. Focus and deal with your applications.
According to what I understand, it's a generic extension refusal letter. Its goal is to inform the refusal and consequently the obligation to leave the country after being refused within a limited time, generally 30 days. Though it doesn't address the steps to go back to legality.
Unfortunately I don't know if you can restore your status after a refusal; in the other hand I see many people such as visa holders, international students, temporary workers restore their status after being out of status; but with NO extension refusal which is different than yours since you already have a refusal.
For your peace of mind, I see as well many people succeed in PR application after entering illegally or remaining illegally big time in Canada with no removal order.
NB: Note that we all
speculate about your case since it is
not common, almost 2 years with a visa without an on going spousal application, extension refusal while being out of status.