Translate the following English sentence to French:
"If it were not for the common agricultural policy, that would have been very painful."
Sans la politique agricole commune, cette transition aurait été très pénible.