Well actually who is doing a poor job to let the assassin approach the king as the guards themselves, it is not like the king is going out to find the assassin, rather it is him who is being dragged by her, these guards should be glad to have a naive king, otherwise they would have been hanged for allowing an intruder so easily in the king palace.