The government is being criticised for claiming to stand with Pacific nations threatened by climate change without moving away from fossil-fuel exports.