The bill will have to be passed by lawmakers in both the House of Parliament and the Lords to be written into UK law.