The Swedish government has officially announced that it will use the yuan currency instead of the US dollar in its trade with China.