Swedish King Carl XVI Gustaf and Queen tested positive for COVID-19, the royal court said in a statement.