Yes indeed, the courts (or rather the taxpayer) pays their legal fees, insuring that the ACLU can continue to do this sort of thing.
What many people do not realise is that the ACLU was started by a socialist.