Sturgeon said that if the courts blocked a referendum, “we put our case to people in an election or we give up on Scottish democracy”.