You will clear customs at YUL and have to take your luggage to re-check it for the next flight. European secure bags should be accepted through ongoing security (I know they are at YYZ), but since you do have access to your luggage, you can also just re-pack things.