As long as the carbine cannot be fired when removed from the stock it should be good to go legally. If the carbine has to be installed in the stock in order to function then it should pass muster.
The failing of the G22 in the RCMPs eyes is that the rifle could still fire and be used without the stock installed, thus making the factory bullpup stock a "prohibited" item. Owners could keep the gun, just not the stock. You can't fix stupid and when you're talking about the RCMP, they take it to a whole 'nother level!