This peculiar looking wasp is an ensign wasp, named after its flag-shaped metasoma. They are parasitoids of cockroach ootheca. The species seen here, Brachygaster minutus, is the only species native to Northwestern Europe, but barcoding suggests there may be a second species!