Yes. In 2004, there was a process to replace the Buffalo. There was only one aircraft identified by the Royal Canadian Air Force to replace the Buffalo at the time, and that was the C-27J. It was basically scrapped at the time, because they wanted a competition.
The revised competition that came after that loosened the restrictions, which allowed the C-295 to be selected. It has now become a serious problem, because that aircraft is seemingly unable to meet the requirements of the Canadian Armed Forces to do this mission.