No. Absolutely not.
Our decision not to grant a privilege to people is hardly a penalty. Our decision to ensure that we can identify who legal migrants are by maintaining their detention is not a penalty.
If these are penalities, then virtually every other western democratic country is in contravention of the convention. I do not believe they are.