Federal judge says legislative immunity not absolute