Importing midi or audio loop with tempo

Recently I have worked with logicX and I have find very useful when you have to work fast this fonction :
When you are importing a loop (midi or audio) from the database, if the tempo of the loop doesn’t match with the project, you can make that the projet tempo changes to match automatically the loop tempo.
Is there a way to do that in Cubase when importing a loop from mediabay ?