That's just weird. Why would you bother. These are young adults paying to be taught. But teaching is only half of it, learning is the other. If they can't be bothered to learn the surely they will just fail the course and you can kick them out to make way for someone who actually wants to learn.
Perhaps it's just a difference between UK (and other European unis) and US unis. When I studied applied physics in the UK (half a century ago) attendance at lectures was not even compulsory. You were expected to behave like a student, that is one who studies, and if you wanted help all you had to do was ask. Those who didn't work simply failed the end of year exams and the finals.