A judge in Minnesota will allow two defendants facing criminal charges of shutting down a pair of tar sands pipelines to use a “necessity defense” at their upcoming jury trial.

The ruling by Judge Robert Tiffany of the Ninth Judicial Circuit in Clearwater County means that the two defendants, Emily Johnston and Annette Klapstein, will be allowed to argue that they acted as they did because of the immediate threat of catastrophic climate change.