EU Right to Repair Directive specifically prohibits manufacturers from using HW/SW locks or firmware limits to block part replacement.
The part replacement isn't being blocked? The OP's CM5 with replaced RAM is still a working CM5 according to him. And fully functional compared to before the replacement.
The part can be replaced with the same part to repair the item. This is not locked.
The part replacement isn't being blocked? The OP's CM5 with replaced RAM is still a working CM5 according to him. And fully functional compared to before the replacement.