When environmental law confronts bankruptcy law