BRUSSELS (AP) — The European Union’s chief executive is vowing to take action to thwart a new law in Hungary that would ban content portraying or promoting homosexuality or sex reassignment to children. The Hungarian parliament passed the bill last week, but it must be endorsed by the president to take effect. The Hungarian government says the law is meant to protect children but critics say it links homosexuality with pedophilia. European Commission President Ursula von der Leyen said Wednesday “this Hungarian bill is a shame.” She says she’ll “use all the powers of the commission to ensure that the rights of all EU citizens are guaranteed.” Hungary says her remarks are based on false allegations.