Some officials had been ignoring the ban behind closed doors.