Niko Kovač's men claimed their joint-biggest win of the Bundesliga campaign against Freiburg on Matchday 31 to confirm their place in next season's UEFA Champions League.