Linda Pollock, chief executive of the Scottish Prison Service (SPS), said such incidents had happened in other prisons in Scotland.