An asylum seeker who was shot and killed after he stabbed six people at a hotel in Glasgow made threats 24 hours before the incident, a court heard yesterday.