Police Scotland said a 23-year-old man was arrested and it was established that the threats "were not credible".