@tryitalways
Since your work permit extension has been denied in Feb 2018, you are not allowed to work in Canada, and you are clearly aware of this fact.
If you are still working, even though you do not have the necessary work permit, you have to stop working immediately.
Your lawyer is right...