Alex Salmond to take Scottish government back to court