They’re called elaichi in India, and it’s a running joke that they should be banned from being put inside biryani, due to the risk of biting into them. Definite shit show if you bite into one, and it’s happened to me a few fair times.
I generally think it’s good etiquette to leave the cloves, elaichis, bay leaves, curry leaves, and the green chillies in the main dish, and don’t put it on your plate. Will only make the dish better for leftovers or the next serving.
That scotch egg kofta curry sounds immense, possible to send the recipe?