The fact that you will end up in prison either way is correct but you can lose Dalia's path in prison if you don't have enough affection points with her. This is actually not that uncommon since mistake tolerance is unusually low and decisions involving her require you to be very bold.