If the instructor logs the PIC time instead of the renter pilot, and the pilot comes back the next week to rent, they still have not flown as PIC in the last 30 days
Sane clubs/schools get round this by
not requiring flight
as PIC within the last 30 days, but simply requiring flight within the last 30 days.