The Scottish National Party announced on Sunday that it would try to legislate for a second independence referendum even if the UK government continues to refuse to approve it.