parliament pass Labour code