National security lawyers have experienced a week of sleepless nights and frantic phone calls after Russia’s invasion of Ukraine led to sweeping sanctions.