The court ruling comes amid criticism of Hungary’s coronavirus emergency law.