B.C. seeks court ruling on new pipeline regulations