Thewould have allowed police to act after deciding information on the Internet is related to terrorism. But this was changed by the House of Lords so that police would have to ask judges before telling Internet service providers to remove Web pages, according to the BBC.
The government was defeated by 148-147 vote. The bill received a third reading and will now return to the House of Commons.
Last month, the House of Lords embarrassed the government by rejecting key parts of the controversial identity card plan, voting to block the ID cards bill until the costs have been scrutinized by a parliamentary watchdog, the National Audit Office, and by making it voluntary for people to enroll on the national ID register.
Steve Ranger of Silicon.com reported from London.