A divided Supreme Court ruled that Congress can force the nation 's public libraries to equip computers with anti-pornography filters .