Since Brexit, the rules on passport validity for British visitors to the European Union have tightened.
Gone are the days when you could travel to the EU at any point before your travel document expired; the UK chose to become a “third country”, with rules to match.