Regardless of the political makeup of the current supreme court, it will almost certainly consider how any ruling might be employed by a future government of either party. It will no doubt be careful about, for instance, granting Republicans powers that it would not also grant to Democrats. It's like the senate getting rid of the filibuster rule. It might seem a good idea for Republicans right now, but might not when Democrats one day have a slim senate majority.