The rulings barred the administration from carrying out punishments described in the executive orders, like banning their lawyers from government buildings, meetings, or jobs.