Roast the pine nuts in a pan without fat until golden brown, take them out and let them cool down. Wash the basil, pluck the leaves from the stalks. Peel garlic and chop smaller. Finely mash pine nuts, basil and garlic, add cheese, add oil bit by bit. Season to taste with salt, pepper and lemon juice
Wash chicken legs, pat dry and place in a wide casserole dish. Spread the pesto on top. Turn the legs in it and cover and chill for about 1 hour.
Cook the chicken legs with the pesto in the preheated oven (electric cooker: 225 °C/ convection oven: 200 °C/ gas: see manufacturer) for approx. 30 minutes. Switch on the grill of the oven and grill the legs for another 5 minutes. Remove the legs from the oven and let them cool down
Waiting time approx. 1 hour