This injection procedure is performed to diagnose and relieve the pain of piriformis syndrome, an irritation of the sciatic nerve caused by a contraction of the piriformis muscle in the buttocks.