Germany 's foreign minister , Joschka Fischer , speaking at an unusual televised hearing on Monday , admitted that mistakes had been made in granting thousands of visas to Germany to criminals and prostitutes from Ukraine from 2000 to 2002 .