Wasp like insect

Wasp like insect

Observation - Wasp like insect - UK and Ireland. Description: This insect (larger than any bee or wasp I have seen before), was nearly 1m up a pine tree in a pine woodland. It stayed in the same place for over 15minutes. It was black and yellow, body length was about 30mm, from tip of antennae to end of lower yellow

This insect (larger than any bee or wasp I have seen before), was nearly 1m up a pine tree in a pine woodland. It stayed in the same place for over 15minutes. It was black and yellow, body length was about 30mm, from tip of antennae to end of lower yellow/ orange protuberance nearly 50mm. It also had a thin red/black needle like protuberance from a sack on its body that went into the bark of the tree and its body was pulsating. I presume it was laying eggs in the bark.