Its still a rimfire like the GSG16 so it shouldn't matter if the stock is pinned instead of having a longer barrel
I'm sure the IRG version is perfectly legal and is honestly the better way to do it
much rather have a shorter barrel but not be able to fully collapse the stock
most people will use it with the stock extended anyway
just my opinion