It only becomes problematic if you don’t have a consistent prior, i.e. if you keep the hypothesis with the greatest likelihood ratio rather than the greatest posterior.
If that were true, you would never need to hold out a validation set.
If that were true, you would never need to hold out a validation set.