Anti-immigration policies inadvertently undermine return-to-office mandates by limiting the workforce and making it harder to employ H-1B visa holders.