Two Nigerian communities can sue Royal Dutch Shell PLC’s Nigerian unit in the U.K. over oil spills in the West African country, a London court ruled Wednesday, testing whether energy companies can be held liable in their home country for events elsewhere. The lawsuits, filed with the London High Court, are the latest international litigation to face Shell for environmental damage stemming from its Nigerian operations. The Anglo-Dutch company reached a £55 million ($77.4 million) settlement in a similar U.K. lawsuit…