A supreme court case has benefits that legislation doesn't. If he can get a favorable decision for civil liberties, he could bind future congresses that may not be as friendly to civil liberties as he is. This also could be accomplished through a constitutional amendment, but a court case is far easier.