Prime Minister Shinzo Abe cautioned Britain on Thursday that a vote to leave the European Union in a June 23 referendum will make Britain less attractive for Japanese investors.

"A vote to leave would make the U.K. less attractive as a destination for Japanese investment," Abe, who leads the world's third largest economy, said through a translator at a news conference with Prime Minister David Cameron.

Abe's intervention in Britain's referendum campaign comes less than two weeks since U.S. President Barack Obama bluntly warned Britain that it would be "in the back of the queue" for a trade deal with the United States if it drops out of the EU.