Court allows suspended lawmakers to attend next session of the house and permits them to cast their votes