A gas boiler today will modulate, so it has a range of output, for example 8 to 28 kW, in the main most houses end up with that size so it's big enough to heat water for a shower, over the 8 kW minimum it can end up switching off/on when drawing domestic hot water, so in real terms 6 kW would be better, the minimum output is more important to the maximum output.
With stored domestic hot water the boiler can have a smaller range, oil boilers often have stored DHW and 18 to 25 kW you can get modulating oil but not to the extent of gas.
So if your option is 6 kW to 25 kW or 6 kW to 35 kW then you may as well go for the big one, however if the option is 6 kW to 25 kW or 12 kW to 35 kW then it would be better to go for the smaller boiler, as large one will not modulate enough so you would need to turn taps on full every time to stop water alternating between hot and cold.
Theory is heart of winter boiler never turns off, it just turns up and down to match demand, this means the thermostat must also turn up/down with some thing like OpenTherm. As to if this actually works not so sure, the Worcester Bosch boiler will not work with OpenTherm last time I looked, they have their own Wave system, so it does not link to TRV heads so only one room is A1. I am running on oil now, and using a Nest thermostat which is linked to the TRV heads so three down stairs rooms will likely be spot on, but it is using mark/space control not modulation. Not done a winter with oil yet, so not sure how it will work.
There is a trade off, every time a boiler switches off it cools through flue to outside, so less it turns off/on the less heat is lost outside, but also the larger the off time the greater the hysteresis of the temperature. So really boiler should be only just big enough, if you go over size then likely there will be a bigger hysteresis.
So boiler in first house 3 bedroom semi was 24 kW this was with no double glazing or cavity wall insulation, and you felt the difference between just switched off, and just about to switch on again, next house had 8 to 28 kW modulating combi boiler detached 3 bedroom it was too warm, the insulation was really good, so boiler was modulated most of the time, and sun through bay windows made house far too warm. This house 18 to 25 kW oil, not a clue if big enough, but a 5 bedroom house, living room, dinning room, two kitchens, and a second small living room on three levels. However built 1985 so if not big enough one would have expected previous owners to have done something, it was toasty warm in Feb this year when we viewed it, and the open fire clearly had not been lit for some time.