The Supreme Court judgment was legally disappointing for the Holyrood government but gives it more ammunition