If you don't have the required visas for entry to the destination country the destination country will charge the origin country the cost of sending you back. Apart from the cost it's just a lot less hassle all round if a passport problem is discovered before you actually travel.