If you're already dreaming of a summer holiday, make sure you don't fall foul of this little-known law.