I have seriously considered doing this, the only reason I held back was out of concern that they could do something with our residency, revoke it, or something...I know that's probably not a valid concern?
I doubt they would do that but I guess there is nothing really to gained my making a complaint, as they let you land eventually. I suppose there are good and bad eggs in the CBSA like any kind of law enforcers, seems you ran into not a very compassionate bunch! This is why the misses and myself are constantly worried at the back of our minds what may happen (with her being out of status with the inland app in progress) and stories like yours makes you think they could be pretty damn strict if they wished as you have done everything legally and they still gave you a hard time!