The cheaper solution is not always the best solution.
Exactly. There are several issues involved, including the law (domestic and international), logistical possibilities, human decency and public opinion within Poland and Germany. There's also the broader issue of Putin's ambitions and the risk of escalation.