That depends on what was put in the change of that prohibition. For example, if Parliament or the regulation prohibited the firearm, it depends on whether an amnesty period is given. The firearm owner would then have to comply with whatever conditions had been made either by regulations or by Parliament in the act of Parliament.
On May 11th, 2023. See this statement in context.