When was Sweden attacked by Denmark
The entry into the Third Coalition in 1805 , in which Sweden unsuccessfully fought its First War against Napoleon , subsequently led to the occupation of Swedish Pomerania by French troops from 1807 to 1810 .