EU court: Animal welfare rules apply to animals leaving EU