In rulings this week, courts are sending a strong message to lawmakers that revamped regulation may be necessary.