The legislation, proposed by Labour MP Yvette Cooper and the Conservative Oliver Letwin, passed the House of Commons by just one vote late on Wednesday night.
The bill moved to the Lords on Thursday, but Eurosceptic peers proposed seven procedural amendments to a business motion about it, in an attempt to prevent the legislation being debated.