When I did mine back in 2020 medical wouldn't/couldn't/can't speak to licencing. Medical insisted I didn't have one (they had issued it) and then said my certificate was out of date, so I couldn't get a licence - they had been looking at the first line 'single pilot ops'. Took almost a year to sort that, by which time the medical had really expired....