You asked
Which lens is best for handheld portraits in dim rooms under 400 euros?
Here is what the site says about that.
From Sony FE 400-800mm f/6.3-8 G OSS: Sony FE 400-800mm f/6.3-8 G OSS: A zoom lens by Sony for Full frame cameras, 400-800mm f/6.3-8. Sony's longest zoom, for birds and distant wildlife.
From Sony FE 400-800mm f/6.3-8 G OSS: What it frames like: - On full frame (Sony E): as marked, 400-800mm. - On APS-C (Sony E): like 600-1200mm on full frame; f/6.3-8 gives about the depth of field of f/9.4-12 there.
Quoted from this site's pages.
Ask next
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.