Tower controllers advise the crew of the requirements to be airborne or taxi by the appropriate time, then in no uncertain terms inform them "Curfew restrictions exist, penalties may apply, advise intentions".
If they choose to depart, they are cleared for take off. ATC do not enforce the curfew, nor should we