In Finland if you get sick during your holiday the doctor can write you sick-leave and you can save your holiday days for later.
https://www.employmentlawwatch.com/2009/01/articles/employme...
If it's just one or two days, you don't even need a doctor's note. For three or more days, your manager can require a note, but it's up to them.