It is never easy for the president to get exactly what he wants