Twitter did exactly that in some cases, with no apparent repercussions.
In the most recent transparency report (https://transparency.twitter.com/en/reports/countries/us.htm...) Twitter declined ~30% of data requests from US government agencies.
They are also suing the government over NSLs; https://blog.twitter.com/official/en_us/a/2014/taking-the-fi...