One word: illegal. Sounds like a smart way to incentivize, but those relatives of yours are seriously risking the worst type of landlord-tenant conflict. If the tenant can provide some form of proof of this extortion... it will not have been worth the attempt.
You've solved the MOOC attendance problem, with this.