The Swedish government has condemned the burning of the Quran, but upheld the country's laws on freedom of speech and assembly.