Simmo, all we can do until Independence comes around, is operate within the existing framework of UK law.
This legislation is in conflict with that law, and the reserved powers are being exercised - for the first time since devolution - to over-rule it. The Scottish Government knew all this, of course, but decided to press ahead anyway - in the full knowledge, no doubt, that it would be over-ridden. For me, it's posturing by Sturgeon, with a view to saying "Look, they're over-riding the will of the Scottish people", in an attempt to bolster the case for independence.
Fair enough, if that's a tactic she wants to adopt, but until we get independence, there's not a great deal we (or she) can do about it.
The legislation, in and of itself, is a crock anyway. It's a piffling issue in the grand scheme of things, should be way down the SNPs list of priorities, and I think it might actually backfire on her. It's a niche issue, that only a tiny minority care about, and many will see it as pointless huffing-and-puffing, whilst her energies would be better directed towards solving some of the problems associated with the NHS crisis in Scotland (for example).