The European Union (EU) has agreed to ban the majority of Russian oil imports.The agreement marks the biggest move yet to punish Russia for its war in Ukraine.Since Russia's invasion of Ukraine on February 24, Western nations have sought to punish Russia economically for its aggression.But targeting the energy sector has proven difficult.The EU depends on Russia for 25 percent of its oil and 40 percent of its natural gas.European countries that are even more heavily dependent on Russia have been especially resistant to act.EU leaders agreed late Monday to cut around 90 percent of all Russian oil imports brought in by sea over the next six months.The ban permits a temporary exemption for imports delivered by pipeline.The exemption was critical in bringing Hungary on board with the decision, which required approval from all EU leaders.Hungarian Prime Minister Viktor Orban had made clear he could support the oil ban only if his country's supply was guaranteed.